Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 17:19:06 +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: r464937 - head/devel/libevt
Message-ID:  <201803181719.w2IHJ6o3087593@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Mar 18 17:19:06 2018
New Revision: 464937
URL: https://svnweb.freebsd.org/changeset/ports/464937

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

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

Modified: head/devel/libevt/Makefile
==============================================================================
--- head/devel/libevt/Makefile	Sun Mar 18 17:16:56 2018	(r464936)
+++ head/devel/libevt/Makefile	Sun Mar 18 17:19:06 2018	(r464937)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libevt
-DISTVERSION=	alpha-20170120
+DISTVERSION=	alpha-20180317
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/libyal/libevt/releases/download/${PORTVERSION:E}/ \
 		LOCAL/antoine
@@ -13,27 +13,30 @@ COMMENT=	Library and tooling to access the Windows Eve
 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/.//}
 LIB_DEPENDS=	libfwnt.so:devel/libfwnt \
 		libregf.so:devel/libregf
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-python \
+CONFIGURE_ARGS=	--enable-python2 --enable-python3 \
 		--with-libfwnt=${LOCALBASE} --with-libregf=${LOCALBASE}
-USES=		libtool pathfix python
+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=		libtool pathfix
 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/libevt/distinfo
==============================================================================
--- head/devel/libevt/distinfo	Sun Mar 18 17:16:56 2018	(r464936)
+++ head/devel/libevt/distinfo	Sun Mar 18 17:19:06 2018	(r464937)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1484906714
-SHA256 (libevt-alpha-20170120.tar.gz) = f965a87cb7aac0c767f87502635b0bdc70f2bcd57dc66b4174476580bff36a7c
-SIZE (libevt-alpha-20170120.tar.gz) = 1855921
+TIMESTAMP = 1521286404
+SHA256 (libevt-alpha-20180317.tar.gz) = c9a6e4fee80e1a30d27d98f1590e82e470c1f999c679aa5b6c55e40e24da9f91
+SIZE (libevt-alpha-20180317.tar.gz) = 1862295

Modified: head/devel/libevt/pkg-plist
==============================================================================
--- head/devel/libevt/pkg-plist	Sun Mar 18 17:16:56 2018	(r464936)
+++ head/devel/libevt/pkg-plist	Sun Mar 18 17:19:06 2018	(r464937)
@@ -11,8 +11,10 @@ lib/libevt.a
 lib/libevt.so
 lib/libevt.so.1
 lib/libevt.so.1.0.0
-%%PYTHON_SITELIBDIR%%/pyevt.a
-%%PYTHON_SITELIBDIR%%/pyevt.so
+%%PYTHON2_SITELIBDIR%%/pyevt.a
+%%PYTHON2_SITELIBDIR%%/pyevt.so
+%%PYTHON3_SITELIBDIR%%/pyevt.a
+%%PYTHON3_SITELIBDIR%%/pyevt.so
 libdata/pkgconfig/libevt.pc
 man/man1/evtexport.1.gz
 man/man1/evtinfo.1.gz



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