svn commit: r448844 - head/devel/libolecf
Antoine Brodin
antoine at FreeBSD.org
Sun Aug 27 20:57:28 UTC 2017
Author: antoine
Date: Sun Aug 27 20:57:26 2017
New Revision: 448844
URL: https://svnweb.freebsd.org/changeset/ports/448844
Log:
- Update to alpha-20170825
- Build python2 and python3 bindings
- Remove DOCS option, the 2 text files do not carry very useful information
Modified:
head/devel/libolecf/Makefile
head/devel/libolecf/distinfo
head/devel/libolecf/pkg-plist
Modified: head/devel/libolecf/Makefile
==============================================================================
--- head/devel/libolecf/Makefile Sun Aug 27 20:51:07 2017 (r448843)
+++ head/devel/libolecf/Makefile Sun Aug 27 20:57:26 2017 (r448844)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libolecf
-DISTVERSION= alpha-20170129
+DISTVERSION= alpha-20170825
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libolecf/releases/download/${PORTVERSION:E}/ \
LOCAL/antoine
@@ -13,23 +13,27 @@ COMMENT= Library and tools to access the OLE 2 Compoun
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 <bsd.port.mk>
Modified: head/devel/libolecf/distinfo
==============================================================================
--- head/devel/libolecf/distinfo Sun Aug 27 20:51:07 2017 (r448843)
+++ head/devel/libolecf/distinfo Sun Aug 27 20:57:26 2017 (r448844)
@@ -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
Modified: head/devel/libolecf/pkg-plist
==============================================================================
--- head/devel/libolecf/pkg-plist Sun Aug 27 20:51:07 2017 (r448843)
+++ head/devel/libolecf/pkg-plist Sun Aug 27 20:57:26 2017 (r448844)
@@ -13,8 +13,10 @@ 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
More information about the svn-ports-head
mailing list