freebsd-ports/net/py-miniupnpc/Makefile
Dirk Meyer 51412f2211 - fix package after update
PR:		162368
Submitted by:	Jan Beich
Feature safe:	yes
2011-11-14 05:46:38 +00:00

31 lines
644 B
Makefile

# New ports collection makefile for: py-miniupnpc
# Date created: 9 Aug 2009
# Whom: Anonymous
#
# $FreeBSD$
#
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python module for miniupnpc
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/miniupnpc:build
MASTERDIR= ${.CURDIR}/../miniupnpc
USE_PYTHON= yes
USE_PYDISTUTILS=yes
WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work
PLIST= ${.CURDIR}/pkg-plist
.if exists(${.CURDIR}/Makefile.local)
.include "${.CURDIR}/Makefile.local"
.endif
post-patch:
@${REINPLACE_CMD} 's/\(version\)="[^"]*"/\1="${PORTVERSION}"/' \
${WRKSRC}/setup.py
.include "${MASTERDIR}/Makefile"