aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pypcap
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-pypcap')
-rw-r--r--net/py-pypcap/Makefile3
-rw-r--r--net/py-pypcap/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/net/py-pypcap/Makefile b/net/py-pypcap/Makefile
index 9680eb18ae31..96350cb1d797 100644
--- a/net/py-pypcap/Makefile
+++ b/net/py-pypcap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pypcap
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= http://monkey.org/~dugsong/pypcap/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,6 +20,8 @@ BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
USE_PYTHON= yes
USE_PYTHON_PREFIX= yes
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcap.so
+
post-patch:
${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c
.include <bsd.port.mk>
diff --git a/net/py-pypcap/pkg-plist b/net/py-pypcap/pkg-plist
deleted file mode 100644
index 9b4444c719b2..000000000000
--- a/net/py-pypcap/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-lib/python2.4/site-packages/pcap.so