diff options
author | obache <obache> | 2011-10-16 04:16:49 +0000 |
---|---|---|
committer | obache <obache> | 2011-10-16 04:16:49 +0000 |
commit | 46c90c42ddcfdcf7b34b7aaa8a2cbcc3ab688fda (patch) | |
tree | 59054f06dff7f818cdbf919afc6e8190473bde4f /net/scapy | |
parent | 29559efb1df0c83700ace595301f4929bb07a00d (diff) | |
download | pkgsrc-46c90c42ddcfdcf7b34b7aaa8a2cbcc3ab688fda.tar.gz |
* No need to buildlink with python modules, simple DEPENDS is sufficient.
* Convert PYDISTUTILSPKG to register egg-info.
Bump PKGREVISION.
Diffstat (limited to 'net/scapy')
-rw-r--r-- | net/scapy/Makefile | 13 | ||||
-rw-r--r-- | net/scapy/PLIST | 3 | ||||
-rw-r--r-- | net/scapy/options.mk | 4 |
3 files changed, 11 insertions, 9 deletions
diff --git a/net/scapy/Makefile b/net/scapy/Makefile index 8638d9cdb69..121fc1c4b06 100644 --- a/net/scapy/Makefile +++ b/net/scapy/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2011/02/25 15:43:51 drochner Exp $ +# $NetBSD: Makefile,v 1.11 2011/10/16 04:16:49 obache Exp $ # DISTNAME= scapy-2.1.1 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.secdev.org/projects/scapy/files/ @@ -9,9 +10,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.secdev.org/projects/scapy/ COMMENT= Interactive packet manipulation program +DEPENDS+= ${PYPKGPREFIX}-libpcap-[0-9]*:../../net/py-libpcap +DEPENDS+= ${PYPKGPREFIX}-libdnet-[0-9]*:../../net/py-libdnet +DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline + PKG_DESTDIR_SUPPORT= user-destdir -PYDISTUTILSPKG= yes NO_BUILD= yes PYTHON_VERSIONS_ACCEPTED= 27 26 25 @@ -37,8 +41,5 @@ do-test: cd ${WRKSRC}/test && ${SETENV} PYTHON=${PYTHONBIN} ./run_tests .include "../../lang/python/application.mk" -.include "../../lang/python/extension.mk" -.include "../../net/py-libpcap/buildlink3.mk" -.include "../../net/py-libdnet/buildlink3.mk" -.include "../../devel/py-readline/buildlink3.mk" +.include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/scapy/PLIST b/net/scapy/PLIST index 06702ab944e..db4cb1ca075 100644 --- a/net/scapy/PLIST +++ b/net/scapy/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.5 2011/02/25 15:43:51 drochner Exp $ +@comment $NetBSD: PLIST,v 1.6 2011/10/16 04:16:49 obache Exp $ bin/UTscapy bin/scapy +${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/scapy/__init__.py ${PYSITELIB}/scapy/__init__.pyc ${PYSITELIB}/scapy/__init__.pyo diff --git a/net/scapy/options.mk b/net/scapy/options.mk index bcf61ff055c..87eb1052a42 100644 --- a/net/scapy/options.mk +++ b/net/scapy/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2007/01/03 15:02:51 adrianp Exp $ +# $NetBSD: options.mk,v 1.2 2011/10/16 04:16:49 obache Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.scapy @@ -10,7 +10,7 @@ PKG_SUPPORTED_OPTIONS= scapy-crypto gnuplot scapy-pyx ### Add in crypto support for WEP operations ### .if !empty(PKG_OPTIONS:Mscapy-crypto) -. include "../../security/py-amkCrypto/buildlink3.mk" +DEPENDS+= ${PYPKGPREFIX}-amkCrypto-[0-9]*:../../security/py-amkCrypto .endif ### |