Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2017 19:23:16 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451338 - head/sysutils/libfvde
Message-ID:  <201710051923.v95JNGEK020074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710051923.v95JNGEK020074>