diff options
Diffstat (limited to 'net/py-miniupnpc')
-rw-r--r-- | net/py-miniupnpc/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/net/py-miniupnpc/Makefile b/net/py-miniupnpc/Makefile index 4682f8f33b63..9e9a1b9201c3 100644 --- a/net/py-miniupnpc/Makefile +++ b/net/py-miniupnpc/Makefile @@ -1,11 +1,12 @@ # $FreeBSD$ CATEGORIES= net python +PORTREVISION= 1 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= Python module for miniupnpc -BUILD_DEPENDS= ${NONEXISTENT}:net/miniupnpc:build +LIB_DEPENDS= libminiupnpc.so:net/miniupnpc MASTERDIR= ${.CURDIR}/../miniupnpc @@ -14,13 +15,6 @@ USE_PYTHON= autoplist distutils PLIST= ${.CURDIR}/pkg-plist -post-patch: - ${REINPLACE_CMD} 's/\(version\)="[^"]*"/\1="${PORTVERSION}"/' \ - ${WRKSRC}/setup.py - -pre-build: - ${CP} $$(${SETENV} -u FLAVOR make -C ${MASTERDIR} -V WRKSRC)/libminiupnpc.a ${WRKSRC} - post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/miniupnpc.so |