Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2017 20:57:26 +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: r448844 - head/devel/libolecf
Message-ID:  <201708272057.v7RKvQOd050690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Aug 27 20:57:26 2017
New Revision: 448844
URL: https://svnweb.freebsd.org/changeset/ports/448844

Log:
  - Update to alpha-20170825
  - Build python2 and python3 bindings
  - Remove DOCS option, the 2 text files do not carry very useful information

Modified:
  head/devel/libolecf/Makefile
  head/devel/libolecf/distinfo
  head/devel/libolecf/pkg-plist

Modified: head/devel/libolecf/Makefile
==============================================================================
--- head/devel/libolecf/Makefile	Sun Aug 27 20:51:07 2017	(r448843)
+++ head/devel/libolecf/Makefile	Sun Aug 27 20:57:26 2017	(r448844)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libolecf
-DISTVERSION=	alpha-20170129
+DISTVERSION=	alpha-20170825
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/libyal/libolecf/releases/download/${PORTVERSION:E}/ \
 		LOCAL/antoine
@@ -13,23 +13,27 @@ COMMENT=	Library and tools to access the OLE 2 Compoun
 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 libtool pathfix pkgconfig 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
+USES=		fuse libtool pathfix pkgconfig
 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/libolecf/distinfo
==============================================================================
--- head/devel/libolecf/distinfo	Sun Aug 27 20:51:07 2017	(r448843)
+++ head/devel/libolecf/distinfo	Sun Aug 27 20:57:26 2017	(r448844)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485708779
-SHA256 (libolecf-alpha-20170129.tar.gz) = 34dc14a9c78b98c7b55d1118a547d5dc1f7dbc4e48d287b0d4a7db250412f8f1
-SIZE (libolecf-alpha-20170129.tar.gz) = 1533776
+TIMESTAMP = 1503684363
+SHA256 (libolecf-alpha-20170825.tar.gz) = 6ecde27a18a563ca33b4a3c2ce9001bc921eb3f1015ecf5b491b8cc56e4b0867
+SIZE (libolecf-alpha-20170825.tar.gz) = 1534747

Modified: head/devel/libolecf/pkg-plist
==============================================================================
--- head/devel/libolecf/pkg-plist	Sun Aug 27 20:51:07 2017	(r448843)
+++ head/devel/libolecf/pkg-plist	Sun Aug 27 20:57:26 2017	(r448844)
@@ -13,8 +13,10 @@ lib/libolecf.a
 lib/libolecf.so
 lib/libolecf.so.1
 lib/libolecf.so.1.0.0
-%%PYTHON_SITELIBDIR%%/pyolecf.a
-%%PYTHON_SITELIBDIR%%/pyolecf.so
+%%PYTHON2_SITELIBDIR%%/pyolecf.a
+%%PYTHON2_SITELIBDIR%%/pyolecf.so
+%%PYTHON3_SITELIBDIR%%/pyolecf.a
+%%PYTHON3_SITELIBDIR%%/pyolecf.so
 libdata/pkgconfig/libolecf.pc
 man/man1/olecfexport.1.gz
 man/man1/olecfinfo.1.gz



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