From ebc8cd553242ce7eb22ceea5f93d8b7228e93c56 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Wed, 2 Sep 2015 17:04:19 +0000 Subject: - Allow concurrent installation (USE_PYTHON=concurrent) - Add missing OPTIONS_DEFINE - Remove EXAMPLESDIR - Convert to new options target helper - Bump PORTREVISION for package change --- net/py-GeoIP/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net/py-GeoIP/Makefile b/net/py-GeoIP/Makefile index 16339b6fb943..d1f31725771f 100644 --- a/net/py-GeoIP/Makefile +++ b/net/py-GeoIP/Makefile @@ -3,6 +3,7 @@ PORTNAME= GeoIP PORTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= net python geography MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,11 +15,12 @@ LICENSE= GPLv2 LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP +OPTIONS_DEFINE= EXAMPLES + CPPFLAGS+= -I${LOCALBASE}/include -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils USES= python shebangfix -EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES= * SHEBANG_FILES= examples/*.py @@ -28,6 +30,8 @@ post-patch: post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/GeoIP.so + +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ cd ${WRKSRC}/examples/ && ${INSTALL_DATA} *.py ${STAGEDIR}${EXAMPLESDIR}/ -- cgit