blob: fb6cf0b4a4adae47976cbe07903cc1dbf14ac273 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $FreeBSD$
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python module for miniupnpc
BUILD_DEPENDS= ${NONEXISTENT}:net/miniupnpc:build
MASTERDIR= ${.CURDIR}/../miniupnpc
USES= python
USE_PYTHON= autoplist distutils
WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/${_WRKDIR}
PLIST= ${.CURDIR}/pkg-plist
post-patch:
${REINPLACE_CMD} 's/\(version\)="[^"]*"/\1="${PORTVERSION}"/' \
${WRKSRC}/setup.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/miniupnpc.so
.include "${MASTERDIR}/Makefile"
|