aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-09-15 01:32:10 +0800
committerantoine <antoine@FreeBSD.org>2017-09-15 01:32:10 +0800
commitde1ddbac1651d51f275a5a330342d30ad3ed31c4 (patch)
tree07d32a7d84d64379560af969f9c2c098aa737261
parentde9e39b2031f4132d5cff6f338f44eb3b7866f15 (diff)
downloadfreebsd-ports-gnome-de1ddbac1651d51f275a5a330342d30ad3ed31c4.tar.gz
freebsd-ports-gnome-de1ddbac1651d51f275a5a330342d30ad3ed31c4.tar.zst
freebsd-ports-gnome-de1ddbac1651d51f275a5a330342d30ad3ed31c4.zip
- Update to 20170902
- Build python2 and python3 bindings
-rw-r--r--devel/libvshadow/Makefile16
-rw-r--r--devel/libvshadow/distinfo6
-rw-r--r--devel/libvshadow/pkg-plist6
3 files changed, 20 insertions, 8 deletions
diff --git a/devel/libvshadow/Makefile b/devel/libvshadow/Makefile
index 119167ea0635..585832e3f73b 100644
--- a/devel/libvshadow/Makefile
+++ b/devel/libvshadow/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libvshadow
-PORTVERSION= 20170715
+PORTVERSION= 20170902
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libvshadow/releases/download/${PORTVERSION}/ \
LOCAL/antoine
@@ -14,13 +14,23 @@ COMMENT= Library to support the Volume Service Snapshot (VSS) format
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= fuse libtool pathfix pkgconfig python
+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/.//}
+
+USES= fuse libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-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
INSTALL_TARGET= install-strip
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
diff --git a/devel/libvshadow/distinfo b/devel/libvshadow/distinfo
index cd8fe734750f..7045aefb9bcc 100644
--- a/devel/libvshadow/distinfo
+++ b/devel/libvshadow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1501704383
-SHA256 (libvshadow-alpha-20170715.tar.gz) = b29dd22b6b12bcf84317e27eed0117ef3efa0549bfd7d3d67f4f44c9dd64ade2
-SIZE (libvshadow-alpha-20170715.tar.gz) = 1391482
+TIMESTAMP = 1504590012
+SHA256 (libvshadow-alpha-20170902.tar.gz) = 9e23a14ee08ad4cc218c63ec8ca350b4951e347ccf3040c365860a399730f261
+SIZE (libvshadow-alpha-20170902.tar.gz) = 1395385
diff --git a/devel/libvshadow/pkg-plist b/devel/libvshadow/pkg-plist
index 5bf8fa16667f..6bcc50a42fe6 100644
--- a/devel/libvshadow/pkg-plist
+++ b/devel/libvshadow/pkg-plist
@@ -12,8 +12,10 @@ lib/libvshadow.a
lib/libvshadow.so
lib/libvshadow.so.1
lib/libvshadow.so.1.0.0
-%%PYTHON_SITELIBDIR%%/pyvshadow.a
-%%PYTHON_SITELIBDIR%%/pyvshadow.so
+%%PYTHON2_SITELIBDIR%%/pyvshadow.a
+%%PYTHON2_SITELIBDIR%%/pyvshadow.so
+%%PYTHON3_SITELIBDIR%%/pyvshadow.a
+%%PYTHON3_SITELIBDIR%%/pyvshadow.so
libdata/pkgconfig/libvshadow.pc
man/man1/vshadowinfo.1.gz
man/man1/vshadowmount.1.gz