Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2018 09:20:14 +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: r473873 - head/devel/libewf
Message-ID:  <201807040920.w649KEu1075412@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Jul  4 09:20:14 2018
New Revision: 473873
URL: https://svnweb.freebsd.org/changeset/ports/473873

Log:
  - Update to 20140804
  - Build python2 and python3 bindings

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

Modified: head/devel/libewf/Makefile
==============================================================================
--- head/devel/libewf/Makefile	Wed Jul  4 09:09:00 2018	(r473872)
+++ head/devel/libewf/Makefile	Wed Jul  4 09:20:14 2018	(r473873)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libewf
-PORTVERSION=	20140803
-PORTREVISION=	1
+PORTVERSION=	20140804
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/libyal/libewf-legacy/releases/download/${PORTVERSION}/ \
 		LOCAL/antoine
@@ -14,17 +13,27 @@ COMMENT=	Library for support of the Expert Witness Com
 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=	libsmdev.so:devel/libsmdev \
 		libsmraw.so:devel/libsmraw \
 		libuuid.so:misc/e2fsprogs-libuuid
 
-USES=		fuse libtool pathfix pkgconfig python:2.7
+USES=		fuse libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-python --with-libsmdev=${LOCALBASE} --with-libsmraw=${LOCALBASE} \
+CONFIGURE_ARGS=	--enable-python2 --enable-python3 --with-libsmdev=${LOCALBASE} \
+		--with-libsmraw=${LOCALBASE} \
 		--with-libuuid=${LOCALBASE} --with-openssl=no
+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
+PLIST_SUB=	PYTHON2_SITELIBDIR=lib/python${PYTHON2_DEFAULT}/site-packages \
+		PYTHON3_SITELIBDIR=lib/python${PYTHON3_DEFAULT}/site-packages
 
 OPTIONS_DEFINE=	NLS
 

Modified: head/devel/libewf/distinfo
==============================================================================
--- head/devel/libewf/distinfo	Wed Jul  4 09:09:00 2018	(r473872)
+++ head/devel/libewf/distinfo	Wed Jul  4 09:20:14 2018	(r473873)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1517210682
-SHA256 (libewf-20140803.tar.gz) = d6a6a0fcb0a0d0dea0612b2a5d01bdead18ed383084c74eaa91c3a15ce261343
-SIZE (libewf-20140803.tar.gz) = 2235974
+TIMESTAMP = 1530682280
+SHA256 (libewf-20140804.tar.gz) = 454363e3b262252c78d892078e85a176c08275f8c597fde37330975a6bee55a3
+SIZE (libewf-20140804.tar.gz) = 2265260

Modified: head/devel/libewf/pkg-plist
==============================================================================
--- head/devel/libewf/pkg-plist	Wed Jul  4 09:09:00 2018	(r473872)
+++ head/devel/libewf/pkg-plist	Wed Jul  4 09:20:14 2018	(r473873)
@@ -17,8 +17,10 @@ lib/libewf.a
 lib/libewf.so
 lib/libewf.so.2
 lib/libewf.so.2.0.0
-%%PYTHON_SITELIBDIR%%/pyewf.a
-%%PYTHON_SITELIBDIR%%/pyewf.so
+%%PYTHON2_SITELIBDIR%%/pyewf.a
+%%PYTHON2_SITELIBDIR%%/pyewf.so
+%%PYTHON3_SITELIBDIR%%/pyewf.a
+%%PYTHON3_SITELIBDIR%%/pyewf.so
 libdata/pkgconfig/libewf.pc
 man/man1/ewfacquire.1.gz
 man/man1/ewfacquirestream.1.gz



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