freebsd-ports/net/py-miniupnpc/Makefile
Dirk Meyer e09b5271a5 - update miniupnpc to 1.9
- bump users of shared lib version
PR:		194031
2014-10-11 09:12:17 +00:00

29 lines
617 B
Makefile

# $FreeBSD$
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python module for miniupnpc
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/miniupnpc:build
MASTERDIR= ${.CURDIR}/../miniupnpc
USES= python
USE_PYTHON= distutils
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
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/miniupnpc.so
.include "${MASTERDIR}/Makefile"