Index: head/devel/libvshadow/Makefile =================================================================== --- head/devel/libvshadow/Makefile (revision 449842) +++ head/devel/libvshadow/Makefile (revision 449843) @@ -1,31 +1,41 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ PORTNAME= libvshadow -PORTVERSION= 20170715 +PORTVERSION= 20170902 CATEGORIES= devel MASTER_SITES= https://github.com/libyal/libvshadow/releases/download/${PORTVERSION}/ \ LOCAL/antoine DISTNAME= ${PORTNAME}-alpha-${PORTVERSION} MAINTAINER= antoine@FreeBSD.org 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 NLS_USES= gettext NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} NLS_CONFIGURE_OFF= --disable-nls .include Index: head/devel/libvshadow/distinfo =================================================================== --- head/devel/libvshadow/distinfo (revision 449842) +++ head/devel/libvshadow/distinfo (revision 449843) @@ -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 Index: head/devel/libvshadow/pkg-plist =================================================================== --- head/devel/libvshadow/pkg-plist (revision 449842) +++ head/devel/libvshadow/pkg-plist (revision 449843) @@ -1,20 +1,22 @@ bin/vshadowdebug bin/vshadowinfo bin/vshadowmount include/libvshadow.h include/libvshadow/codepage.h include/libvshadow/definitions.h include/libvshadow/error.h include/libvshadow/extern.h include/libvshadow/features.h include/libvshadow/types.h 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 man/man3/libvshadow.3.gz