svn commit: r451338 - head/sysutils/libfvde
Antoine Brodin
antoine at FreeBSD.org
Thu Oct 5 19:23:17 UTC 2017
Author: antoine
Date: Thu Oct 5 19:23:16 2017
New Revision: 451338
URL: https://svnweb.freebsd.org/changeset/ports/451338
Log:
- Update to experimental-20170930
- Build python2 and python3 bindings
- Make NLS optional
Modified:
head/sysutils/libfvde/Makefile
head/sysutils/libfvde/distinfo
head/sysutils/libfvde/pkg-plist
Modified: head/sysutils/libfvde/Makefile
==============================================================================
--- head/sysutils/libfvde/Makefile Thu Oct 5 19:21:46 2017 (r451337)
+++ head/sysutils/libfvde/Makefile Thu Oct 5 19:23:16 2017 (r451338)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libfvde
-PORTVERSION= 20160918
+PORTVERSION= 20170930
DISTVERSIONPREFIX= experimental-
CATEGORIES= sysutils
MASTER_SITES= https://github.com/libyal/libfvde/releases/download/${PORTVERSION}/ \
@@ -14,12 +14,28 @@ COMMENT= Library and tools for reading FileVault (FVDE
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 gettext libtool pathfix pkgconfig python ssl
+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 ssl
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
LIBS+= -L${OPENSSLLIB}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PLIST_SUB= PYTHON2_SITELIBDIR=lib/python${PYTHON2_DEFAULT}/site-packages \
+ PYTHON3_SITELIBDIR=lib/python${PYTHON3_DEFAULT}/site-packages
+
+OPTIONS_DEFINE= NLS
+
+NLS_USES= gettext
+NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
+NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.mk>
Modified: head/sysutils/libfvde/distinfo
==============================================================================
--- head/sysutils/libfvde/distinfo Thu Oct 5 19:21:46 2017 (r451337)
+++ head/sysutils/libfvde/distinfo Thu Oct 5 19:23:16 2017 (r451338)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1474205822
-SHA256 (libfvde-experimental-20160918.tar.gz) = 6863ae991163ac068994201dc45028627a8e60076dd574b7cf594b5f330242af
-SIZE (libfvde-experimental-20160918.tar.gz) = 1643264
+TIMESTAMP = 1507226009
+SHA256 (libfvde-experimental-20170930.tar.gz) = 06987fd3387531d3e77e52279c4063530dfa2fa574ffe56ca19a7e074702a913
+SIZE (libfvde-experimental-20170930.tar.gz) = 1678823
Modified: head/sysutils/libfvde/pkg-plist
==============================================================================
--- head/sysutils/libfvde/pkg-plist Thu Oct 5 19:21:46 2017 (r451337)
+++ head/sysutils/libfvde/pkg-plist Thu Oct 5 19:23:16 2017 (r451338)
@@ -12,8 +12,10 @@ lib/libfvde.a
lib/libfvde.so
lib/libfvde.so.1
lib/libfvde.so.1.0.0
-%%PYTHON_SITELIBDIR%%/pyfvde.a
-%%PYTHON_SITELIBDIR%%/pyfvde.so
+%%PYTHON2_SITELIBDIR%%/pyfvde.a
+%%PYTHON2_SITELIBDIR%%/pyfvde.so
+%%PYTHON3_SITELIBDIR%%/pyfvde.a
+%%PYTHON3_SITELIBDIR%%/pyfvde.so
libdata/pkgconfig/libfvde.pc
man/man1/fvdeinfo.1.gz
man/man1/fvdemount.1.gz
More information about the svn-ports-head
mailing list