aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pypcap
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2007-02-06 01:18:25 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2007-02-06 01:18:25 +0800
commit700970b2fbc2690bc66067d4f50ef9ce8d4d8297 (patch)
tree596d373e31bd9e06c9ea04e441777e31769dd15b /net/py-pypcap
parentf25132cf5f67854ff1199b8adfc92f6654a20d61 (diff)
downloadfreebsd-ports-gnome-700970b2fbc2690bc66067d4f50ef9ce8d4d8297.tar.gz
freebsd-ports-gnome-700970b2fbc2690bc66067d4f50ef9ce8d4d8297.tar.zst
freebsd-ports-gnome-700970b2fbc2690bc66067d4f50ef9ce8d4d8297.zip
Fix plist for all versions of python by using PYTHON_SITELIBDIR
PR: 107337 Submitted by: Li-Wen Hsu Approved by: Maintainer timeout
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