blob: 61ba910a8bb358cb8fb62ac16c3d6f0749079949 (
plain)
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
26
27
28
29
30
31
|
# 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"
|