aboutsummaryrefslogtreecommitdiff
path: root/net/py-miniupnpc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-01-06 10:02:43 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-01-06 10:02:43 +0000
commitac3be951f8744a26b11f2135db71144ebff8d8a7 (patch)
tree91f1a78b3af2c21d6660993afe0a66dfe6187419 /net/py-miniupnpc
parentbee79947818023882e4d4aac3ecbed191aaab011 (diff)
downloadports-ac3be951f8744a26b11f2135db71144ebff8d8a7.tar.gz
ports-ac3be951f8744a26b11f2135db71144ebff8d8a7.zip
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
Notes
Notes: svn path=/head/; revision=458238
Diffstat (limited to 'net/py-miniupnpc')
-rw-r--r--net/py-miniupnpc/Makefile10
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