aboutsummaryrefslogtreecommitdiff
path: root/net/py-pcapy
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-14 20:34:49 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-14 20:34:49 +0000
commitc0a0951ca9dc921f462b351791182e93ac19acbd (patch)
tree6e97118ee31a4ce71d2b288e4dfa3d01f4494e8e /net/py-pcapy
parent3c895e92933a1be2018bd9ce06cbe806e9debb1b (diff)
downloadports-c0a0951ca9dc921f462b351791182e93ac19acbd.tar.gz
ports-c0a0951ca9dc921f462b351791182e93ac19acbd.zip
Notes
Diffstat (limited to 'net/py-pcapy')
-rw-r--r--net/py-pcapy/Makefile11
-rw-r--r--net/py-pcapy/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/net/py-pcapy/Makefile b/net/py-pcapy/Makefile
index ec1aadab4b6f..2aaa3e9bb03b 100644
--- a/net/py-pcapy/Makefile
+++ b/net/py-pcapy/Makefile
@@ -4,7 +4,7 @@
# $FreeBSD$
PORTNAME= pcapy
-PORTVERSION= 0.10.3
+PORTVERSION= 0.10.4
CATEGORIES= net python
MASTER_SITES= http://oss.coresecurity.com/repo/ \
http://www.yazzy.org/ports/pcapy/
@@ -19,4 +19,11 @@ USE_PYDISTUTILS= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcapy.so
PORTDOCS= README LICENSE pcapy.html
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 503000
+LIB_DEPENDS+= pcap.2:${PORTSDIR}/net/libpcap
+PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/py-pcapy/distinfo b/net/py-pcapy/distinfo
index af9439380b5f..c77744db9853 100644
--- a/net/py-pcapy/distinfo
+++ b/net/py-pcapy/distinfo
@@ -1,2 +1,2 @@
-MD5 (pcapy-0.10.3.tar.gz) = 2a9eb722156f9ce08370ea4da475af20
-SIZE (pcapy-0.10.3.tar.gz) = 19009
+MD5 (pcapy-0.10.4.tar.gz) = 6b3f5823cdc4f878968eea722d9bb557
+SIZE (pcapy-0.10.4.tar.gz) = 21537