1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Update to alpha-20191221

- Remove python 2.7 support
This commit is contained in:
Antoine Brodin 2019-12-23 12:37:03 +00:00
parent 4a2d3a54bf
commit 2c29739a6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520710
3 changed files with 9 additions and 19 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libevtx
DISTVERSION= alpha-20191104
DISTVERSION= alpha-20191221
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libevtx/releases/download/${PORTVERSION:E}/ \
LOCAL/antoine
@ -13,25 +13,17 @@ COMMENT= Library and tooling to access the Windows XML Event Log (EVTX) format
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-python2 --enable-python3 \
CONFIGURE_ARGS= --enable-python \
--with-libfwnt=${LOCALBASE} --with-libregf=${LOCALBASE}
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
CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
USES= libtool pathfix python:3.5+
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= NLS

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1572894780
SHA256 (libevtx-alpha-20191104.tar.gz) = 6ea4b3e2355689a66f9971fe8dfbd2fe190058773ff8492b80b10809616178ed
SIZE (libevtx-alpha-20191104.tar.gz) = 1926750
TIMESTAMP = 1577002323
SHA256 (libevtx-alpha-20191221.tar.gz) = c621b55c88b44786a28d19e02f976e33ce0c46c8de898d2d67d0e34da37a29d5
SIZE (libevtx-alpha-20191221.tar.gz) = 1949526

View File

@ -11,10 +11,8 @@ lib/libevtx.a
lib/libevtx.so
lib/libevtx.so.1
lib/libevtx.so.1.0.0
%%PYTHON2_SITELIBDIR%%/pyevtx.a
%%PYTHON2_SITELIBDIR%%/pyevtx.so
%%PYTHON3_SITELIBDIR%%/pyevtx.a
%%PYTHON3_SITELIBDIR%%/pyevtx.so
%%PYTHON_SITELIBDIR%%/pyevtx.a
%%PYTHON_SITELIBDIR%%/pyevtx.so
libdata/pkgconfig/libevtx.pc
man/man1/evtxexport.1.gz
man/man1/evtxinfo.1.gz