svn commit: r475498 - in head/devel/libpff: . files
Antoine Brodin
antoine at FreeBSD.org
Sat Jul 28 06:34:19 UTC 2018
Author: antoine
Date: Sat Jul 28 06:34:17 2018
New Revision: 475498
URL: https://svnweb.freebsd.org/changeset/ports/475498
Log:
- Update to experimental-20180714
- Build python2 and python3 bindings
- Remove DOCS option, the 2 text files do not carry useful information
Deleted:
head/devel/libpff/files/
Modified:
head/devel/libpff/Makefile
head/devel/libpff/distinfo
head/devel/libpff/pkg-plist
Modified: head/devel/libpff/Makefile
==============================================================================
--- head/devel/libpff/Makefile Sat Jul 28 06:33:37 2018 (r475497)
+++ head/devel/libpff/Makefile Sat Jul 28 06:34:17 2018 (r475498)
@@ -3,7 +3,7 @@
PORTNAME= libpff
# If/When moving from experimental to alpha, switch to DISTVERSIONPREFIX to prevent PORTEPOCH
-DISTVERSION= experimental-20161119
+DISTVERSION= experimental-20180714
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libpff/releases/download/${PORTVERSION:E}/ \
LOCAL/antoine
@@ -15,24 +15,27 @@ LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfwnt.so:devel/libfwnt
+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 --with-libfwnt=${LOCALBASE}
-USES= libtool pathfix python
+CONFIGURE_ARGS= --enable-python2 --enable-python3 --with-libfwnt=${LOCALBASE}
+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= libtool pathfix
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/libpff/distinfo
==============================================================================
--- head/devel/libpff/distinfo Sat Jul 28 06:33:37 2018 (r475497)
+++ head/devel/libpff/distinfo Sat Jul 28 06:34:17 2018 (r475498)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480236027
-SHA256 (libpff-experimental-20161119.tar.gz) = d12e5e7c2682010a9f234e2961b09b3adf2c0ac20f06cbb0356f572bd024cc1e
-SIZE (libpff-experimental-20161119.tar.gz) = 1961081
+TIMESTAMP = 1531686016
+SHA256 (libpff-experimental-20180714.tar.gz) = d9657aa592e2e155a5dbb49a019f99988e2347a8c7b939c21883e8be3003695b
+SIZE (libpff-experimental-20180714.tar.gz) = 1991576
Modified: head/devel/libpff/pkg-plist
==============================================================================
--- head/devel/libpff/pkg-plist Sat Jul 28 06:33:37 2018 (r475497)
+++ head/devel/libpff/pkg-plist Sat Jul 28 06:34:17 2018 (r475498)
@@ -12,8 +12,10 @@ lib/libpff.a
lib/libpff.so
lib/libpff.so.1
lib/libpff.so.1.0.0
-%%PYTHON_SITELIBDIR%%/pypff.a
-%%PYTHON_SITELIBDIR%%/pypff.so
+%%PYTHON2_SITELIBDIR%%/pypff.a
+%%PYTHON2_SITELIBDIR%%/pypff.so
+%%PYTHON3_SITELIBDIR%%/pypff.a
+%%PYTHON3_SITELIBDIR%%/pypff.so
libdata/pkgconfig/libpff.pc
man/man1/pffexport.1.gz
man/man1/pffinfo.1.gz
More information about the svn-ports-all
mailing list