b1026e3cb4
PR: 228050 Submitted by: Hung-Yi Chen - fix python build - add LICENSE for slave port - make portlint happier - bump PORTREVISION on ports using the shared lib
23 lines
446 B
Makefile
23 lines
446 B
Makefile
# $FreeBSD$
|
|
|
|
CATEGORIES= net python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
COMMENT= Python module for miniupnpc
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libminiupnpc.so:${PKGCATEGORY}/miniupnpc
|
|
|
|
MASTERDIR= ${.CURDIR}/../miniupnpc
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
MAKE_ENV= MAKE=gmake
|
|
PLIST=
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/miniupnpc.so
|
|
|
|
.include "${MASTERDIR}/Makefile"
|