From ac3be951f8744a26b11f2135db71144ebff8d8a7 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Sat, 6 Jan 2018 10:02:43 +0000 Subject: Remove the use of submake, and use the parent's port shared library instead. While there, remove an obsolete sed line that does not match anything. Sponsored by: Absolight --- net/py-miniupnpc/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'net/py-miniupnpc') 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 -- cgit v1.2.3