diff options
author | wg <wg@FreeBSD.org> | 2013-12-15 21:51:16 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-12-15 21:51:16 +0800 |
commit | d9ca43ca08930b47ae3844272bac3f91dc4c05a9 (patch) | |
tree | a14dabd7b375e665c9161363a06cb54da73aa6d6 /net | |
parent | 00da0c7485093e5630e85f46a1b6cfaa32d2cd8b (diff) | |
download | freebsd-ports-gnome-d9ca43ca08930b47ae3844272bac3f91dc4c05a9.tar.gz freebsd-ports-gnome-d9ca43ca08930b47ae3844272bac3f91dc4c05a9.tar.zst freebsd-ports-gnome-d9ca43ca08930b47ae3844272bac3f91dc4c05a9.zip |
net/py-pypcap: fix usage of python
Reported by: exp-run (PR 184591)
Approved by: portmgr (blanket)
Diffstat (limited to 'net')
-rw-r--r-- | net/py-pypcap/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/py-pypcap/Makefile b/net/py-pypcap/Makefile index 13dbf8d6b415..37ce8b844b3c 100644 --- a/net/py-pypcap/Makefile +++ b/net/py-pypcap/Makefile @@ -14,8 +14,7 @@ COMMENT= Simplified object-oriented Python extension module for libpcap BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex USE_PYTHON= yes -USE_PYTHON_PREFIX= yes -INSTALLS_EGGINFO= yes +USE_PYDISTUTILS=yes PYDISTUTILS_PKGNAME= pcap PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcap.so @@ -24,4 +23,7 @@ NO_STAGE= yes post-patch: @${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c +pre-build: + (cd ${WRKSRC}; pyrexc pcap.pyx) + .include <bsd.port.mk> |