Some files were missing from the tarball depending on how it was packaged; added them to MANIFEST.in to make sure they get included. Also updated mk-constants with the latest DLT_* entries from tcpdump.org. * pylibpcap-0.6.1, 25 July 2007 Clarified the license terms. Rewrote some of the module initialization to hopefully make it less fragile when SWIG changes. Added a bunch of new DLT_* constants. Made a few changes to the syntax in pcap.i to match with the current SWIG-1.3.x syntax. * pylibpcap-0.6, 2007-02-14 Had to manually add SWIG_PY_INT to mk-constants.py to support swig-1.3.31 Normalized indentation to Python semi-standard 4 spaces. Changed #!/usr/bin/env lines from python2 to python, since no distros use python2 anymore.
25 lines
669 B
Makefile
25 lines
669 B
Makefile
# $NetBSD: Makefile,v 1.9 2010/03/14 11:13:36 pettai Exp $
|
|
#
|
|
|
|
DISTNAME= pylibpcap-0.6.2
|
|
PKGNAME= ${PYPKGPREFIX}-libpcap-0.6.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pylibpcap/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pylibpcap.sourceforge.net/
|
|
COMMENT= Python wrapper for libpcap
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PYDISTUTILSPKG= yes
|
|
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9.3nb1
|
|
|
|
pre-build:
|
|
(cd ${WRKSRC} && ${PYTHONBIN} mk-constants.py)
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
#.include "../../devel/swig/buildlink3.mk"
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|