diff options
author | perky <perky@FreeBSD.org> | 2002-07-24 05:09:07 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2002-07-24 05:09:07 +0800 |
commit | b48c55e8da4061e91459eb49d6dcc4ccdb8aa256 (patch) | |
tree | c2b1e52621727621bb1cbdfc32e654738ac44396 /net | |
parent | 85dbe07a7b01e3a483634cbba833d82ca9de2304 (diff) | |
download | freebsd-ports-gnome-b48c55e8da4061e91459eb49d6dcc4ccdb8aa256.tar.gz freebsd-ports-gnome-b48c55e8da4061e91459eb49d6dcc4ccdb8aa256.tar.zst freebsd-ports-gnome-b48c55e8da4061e91459eb49d6dcc4ccdb8aa256.zip |
Update to 0.4.
This version needs libpcap 0.7 or higher (after Jul 5 for -stable,
Jun 21 for -current). There is a CVS tag (PYPCAP_0_3_1) for who don't
want to upgrade their userland base.
Diffstat (limited to 'net')
-rw-r--r-- | net/py-pcap/Makefile | 8 | ||||
-rw-r--r-- | net/py-pcap/distinfo | 2 | ||||
-rw-r--r-- | net/py-pcap/pkg-plist | 8 |
3 files changed, 12 insertions, 6 deletions
diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile index 5eadaecc82ce..c58c70adcceb 100644 --- a/net/py-pcap/Makefile +++ b/net/py-pcap/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pcap -PORTVERSION= 0.3.1 +PORTVERSION= 0.4 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pylibpcap @@ -20,5 +20,11 @@ BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG USE_PYTHON= yes USE_PYDISTUTILS= yes +USE_PYTHON_PREFIX= yes + +PCAPTEST!= grep PCAP_IF_LOOPBACK /usr/include/pcap.h || true +.if empty(PCAPTEST) +BROKEN= "needs libpcap 0.7 or higher" +.endif .include <bsd.port.mk> diff --git a/net/py-pcap/distinfo b/net/py-pcap/distinfo index 291d765a07ba..40fb051b9cc5 100644 --- a/net/py-pcap/distinfo +++ b/net/py-pcap/distinfo @@ -1 +1 @@ -MD5 (python/pylibpcap-0.3.1.tar.gz) = ba64a4c831d5e2d316f3d413d1b774de +MD5 (python/pylibpcap-0.4.tar.gz) = 38c9a47db4113594b57aa0944b1ebdcf diff --git a/net/py-pcap/pkg-plist b/net/py-pcap/pkg-plist index f696ee15b951..48cf862e3dac 100644 --- a/net/py-pcap/pkg-plist +++ b/net/py-pcap/pkg-plist @@ -1,4 +1,4 @@ -lib/%%PYTHON_VERSION%%/site-packages/pcap.py -lib/%%PYTHON_VERSION%%/site-packages/pcap.pyc -lib/%%PYTHON_VERSION%%/site-packages/pcap.pyo -lib/%%PYTHON_VERSION%%/site-packages/pcapcmodule.so +%%PYTHON_SITELIBDIR%%/pcap.py +%%PYTHON_SITELIBDIR%%/pcap.pyc +%%PYTHON_SITELIBDIR%%/pcap.pyo +%%PYTHON_SITELIBDIR%%/pcapcmodule.so |