Port: py-pcapy

Version:	0.10.4

Update port python/py-pcapy
Version bump to 0.10.4; patch setup.py to make sure it links against DP's
libpcap

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@17121 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Bryan Blackburn
2006-03-21 21:34:41 +00:00
parent 5f30356e66
commit 970743f66a
2 changed files with 21 additions and 4 deletions
+8 -4
View File
@@ -1,10 +1,9 @@
# $Id: Portfile,v 1.4 2005/04/21 15:58:14 jberry Exp $
# $Id: Portfile,v 1.5 2006/03/21 21:34:40 blb Exp $
PortSystem 1.0
PortGroup python24 1.0
name py-pcapy
version 0.10.3
revision 1
version 0.10.4
categories-append net
maintainers darwinports@opendarwin.org
description python interface to libpcap
@@ -19,10 +18,15 @@ homepage http://oss.coresecurity.com/projects/pcapy.html
master_sites http://oss.coresecurity.com/repo/
distname pcapy-${version}
checksums md5 2a9eb722156f9ce08370ea4da475af20
checksums md5 6b3f5823cdc4f878968eea722d9bb557
depends_lib-append port:libpcap
patchfiles patch-setup.py
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
}
build.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-I${prefix}/lib"
post-destroot {
+13
View File
@@ -0,0 +1,13 @@
--- setup.py.orig 2005-09-14 09:06:56.000000000 -0600
+++ setup.py 2006-03-21 14:27:58.000000000 -0700
@@ -6,8 +6,8 @@
PACKAGE_NAME = 'pcapy'
# You might want to change these to reflect your specific configuration
-include_dirs = []
-library_dirs = []
+include_dirs = ['@@PREFIX@@/include']
+library_dirs = ['@@PREFIX@@/lib']
libraries = []
if sys.platform =='win32':