aboutsummaryrefslogtreecommitdiff
path: root/net/py-pcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-pcap/Makefile')
-rw-r--r--net/py-pcap/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile
index 81abfb48ac49..091cf8fa1925 100644
--- a/net/py-pcap/Makefile
+++ b/net/py-pcap/Makefile
@@ -6,22 +6,27 @@
#
PORTNAME= pcap
-PORTVERSION= 0.6.2
+PORTVERSION= 0.6.4
CATEGORIES= net python
-MASTER_SITES= SF/pylib${PORTNAME}/pylib${PORTNAME}/${PORTVERSION} \
- http://people.freebsd.org/~perky/distfiles/:local
-
+MASTER_SITES= SF/pylib${PORTNAME}/pylib${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= pylibpcap-${PORTVERSION}
+DISTNAME= pylib${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to LBL Packet Capture library (libpcap)
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYING
+
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-USE_PYTHON_PREFIX= yes
-PYDISTUTILS_PKGNAME= pylibpcap
+PYDISTUTILS_PKGNAME= pylib${PORTNAME}
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/_pcapmodule.so \
+ %%PYTHON_SITELIBDIR%%/pcap.py \
+ %%PYTHON_SITELIBDIR%%/pcap.pyc \
+ %%PYTHON_SITELIBDIR%%/pcap.pyo
.include <bsd.port.mk>