Index: head/devel/libolecf/Makefile =================================================================== --- head/devel/libolecf/Makefile (revision 448843) +++ head/devel/libolecf/Makefile (revision 448844) @@ -1,35 +1,39 @@ # Created by: Antoine Brodin # $FreeBSD$ PORTNAME= libolecf -DISTVERSION= alpha-20170129 +DISTVERSION= alpha-20170825 CATEGORIES= devel MASTER_SITES= https://github.com/libyal/libolecf/releases/download/${PORTVERSION:E}/ \ LOCAL/antoine MAINTAINER= antoine@FreeBSD.org COMMENT= Library and tools to access the OLE 2 Compound File (OLECF) format LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= python${PYTHON2_DEFAULT}:lang/python${PYTHON2_DEFAULT:S/.//} \ + python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//} +RUN_DEPENDS= python${PYTHON2_DEFAULT}:lang/python${PYTHON2_DEFAULT:S/.//} \ + python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//} + GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-python -USES= fuse libtool pathfix pkgconfig python +CONFIGURE_ARGS= --enable-python2 --enable-python3 +CONFIGURE_ENV= PYTHON2_CONFIG=${LOCALBASE}/bin/python${PYTHON2_DEFAULT}-config \ + PYTHON3=${LOCALBASE}/bin/python${PYTHON3_DEFAULT} \ + PYTHON3_CONFIG=${LOCALBASE}/bin/python${PYTHON3_DEFAULT}-config +USES= fuse libtool pathfix pkgconfig USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} +PLIST_SUB= PYTHON2_SITELIBDIR=lib/python${PYTHON2_DEFAULT}/site-packages \ + PYTHON3_SITELIBDIR=lib/python${PYTHON3_DEFAULT}/site-packages -OPTIONS_DEFINE= DOCS NLS +OPTIONS_DEFINE= NLS NLS_USES= gettext NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} NLS_CONFIGURE_OFF= --disable-nls - -PORTDOCS= AUTHORS ChangeLog - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/devel/libolecf/distinfo =================================================================== --- head/devel/libolecf/distinfo (revision 448843) +++ head/devel/libolecf/distinfo (revision 448844) @@ -1,3 +1,3 @@ -TIMESTAMP = 1485708779 -SHA256 (libolecf-alpha-20170129.tar.gz) = 34dc14a9c78b98c7b55d1118a547d5dc1f7dbc4e48d287b0d4a7db250412f8f1 -SIZE (libolecf-alpha-20170129.tar.gz) = 1533776 +TIMESTAMP = 1503684363 +SHA256 (libolecf-alpha-20170825.tar.gz) = 6ecde27a18a563ca33b4a3c2ce9001bc921eb3f1015ecf5b491b8cc56e4b0867 +SIZE (libolecf-alpha-20170825.tar.gz) = 1534747 Index: head/devel/libolecf/pkg-plist =================================================================== --- head/devel/libolecf/pkg-plist (revision 448843) +++ head/devel/libolecf/pkg-plist (revision 448844) @@ -1,21 +1,23 @@ bin/olecfexport bin/olecfinfo bin/olecfmount include/libolecf.h include/libolecf/codepage.h include/libolecf/definitions.h include/libolecf/error.h include/libolecf/extern.h include/libolecf/features.h include/libolecf/ole.h include/libolecf/types.h lib/libolecf.a lib/libolecf.so lib/libolecf.so.1 lib/libolecf.so.1.0.0 -%%PYTHON_SITELIBDIR%%/pyolecf.a -%%PYTHON_SITELIBDIR%%/pyolecf.so +%%PYTHON2_SITELIBDIR%%/pyolecf.a +%%PYTHON2_SITELIBDIR%%/pyolecf.so +%%PYTHON3_SITELIBDIR%%/pyolecf.a +%%PYTHON3_SITELIBDIR%%/pyolecf.so libdata/pkgconfig/libolecf.pc man/man1/olecfexport.1.gz man/man1/olecfinfo.1.gz man/man3/libolecf.3.gz