- fix package after update

PR:		162368
Submitted by:	Jan Beich
Feature safe:	yes
This commit is contained in:
Dirk Meyer 2011-11-14 05:46:38 +00:00
parent 53f17f46e7
commit 51412f2211
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285752

View File

@ -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"