aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2011-11-14 13:46:38 +0800
committerdinoex <dinoex@FreeBSD.org>2011-11-14 13:46:38 +0800
commit467495ac317e124d82a08ef363db80c0b4386e04 (patch)
tree75e8868216a1629dcf90dedf32c535bb78cae1ca /net
parent4cdcdc84ea5b540cb814b0aea0e36e85a21a1cbf (diff)
downloadfreebsd-ports-graphics-467495ac317e124d82a08ef363db80c0b4386e04.tar.gz
freebsd-ports-graphics-467495ac317e124d82a08ef363db80c0b4386e04.tar.zst
freebsd-ports-graphics-467495ac317e124d82a08ef363db80c0b4386e04.zip
- fix package after update
PR: 162368 Submitted by: Jan Beich Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r--net/py-miniupnpc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/py-miniupnpc/Makefile b/net/py-miniupnpc/Makefile
index f0faf541ad5..61ba910a8bb 100644
--- a/net/py-miniupnpc/Makefile
+++ b/net/py-miniupnpc/Makefile
@@ -16,7 +16,6 @@ MASTERDIR= ${.CURDIR}/../miniupnpc
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-BROKEN= does not package
WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work
PLIST= ${.CURDIR}/pkg-plist
@@ -25,4 +24,8 @@ PLIST= ${.CURDIR}/pkg-plist
.include "${.CURDIR}/Makefile.local"
.endif
+post-patch:
+ @${REINPLACE_CMD} 's/\(version\)="[^"]*"/\1="${PORTVERSION}"/' \
+ ${WRKSRC}/setup.py
+
.include "${MASTERDIR}/Makefile"