From 700970b2fbc2690bc66067d4f50ef9ce8d4d8297 Mon Sep 17 00:00:00 2001 From: tmclaugh Date: Mon, 5 Feb 2007 17:18:25 +0000 Subject: Fix plist for all versions of python by using PYTHON_SITELIBDIR PR: 107337 Submitted by: Li-Wen Hsu Approved by: Maintainer timeout --- net/py-pypcap/Makefile | 3 +++ net/py-pypcap/pkg-plist | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 net/py-pypcap/pkg-plist (limited to 'net/py-pypcap') 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 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 -- cgit