aboutsummaryrefslogtreecommitdiff
path: root/devel/libfwnt/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2019-12-23 12:17:14 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2019-12-23 12:17:14 +0000
commit9ca1949cc1627945f1df134c0a13de1bc97efac6 (patch)
treef192087f6343467f85c4332482391c0ad2131651 /devel/libfwnt/Makefile
parent342061a3bb7092567bcfdf196c678f4762b3e2ca (diff)
downloadports-9ca1949cc1627945f1df134c0a13de1bc97efac6.tar.gz
ports-9ca1949cc1627945f1df134c0a13de1bc97efac6.zip
- Update to 20191222
- Remove python 2.7 support
Notes
Notes: svn path=/head/; revision=520697
Diffstat (limited to 'devel/libfwnt/Makefile')
-rw-r--r--devel/libfwnt/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/devel/libfwnt/Makefile b/devel/libfwnt/Makefile
index 5a18eee0ca39..9d08a503f0db 100644
--- a/devel/libfwnt/Makefile
+++ b/devel/libfwnt/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libfwnt
-PORTVERSION= 20191104
+PORTVERSION= 20191222
DISTVERSIONPREFIX= alpha-
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libfwnt/releases/download/${PORTVERSION}/ \
@@ -14,22 +14,13 @@ COMMENT= Library for Windows NT data types
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-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= libtool pathfix
+CONFIGURE_ARGS= --enable-python
+CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
+USES= libtool pathfix python:3.5+
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
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