From df7aa0da4ec30489168b253b218e754f4718ab3c Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 22 Jan 2022 14:35:52 +0000 Subject: py-pcap: convert to egg.mk --- net/py-pcap/Makefile | 8 ++++---- net/py-pcap/PLIST | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'net/py-pcap') diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile index a6fe56848dc..a50bee84532 100644 --- a/net/py-pcap/Makefile +++ b/net/py-pcap/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.16 2019/11/03 11:45:51 rillig Exp $ +# $NetBSD: Makefile,v 1.17 2022/01/22 14:35:52 wiz Exp $ DISTNAME= pypcap-1.1 PKGNAME= ${PYPKGPREFIX}-pcap-1.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net python MASTER_SITES= http://pypcap.googlecode.com/files/ @@ -23,8 +23,8 @@ SUBST_FILES.prefix= Makefile SUBST_VARS.prefix= PREFIX SUBST_STAGE.prefix= pre-configure -PYDISTUTILSPKG= yes PYTHON_VERSIONS_ACCEPTED= 27 # py-pyrex +EGG_NAME= pcap-${PKGVERSION_NOREV} FILES_SUBST+= PYTHONBIN=${PYTHONBIN:Q} @@ -38,6 +38,6 @@ do-configure: # --with-pcap=${PREFIX} .include "../../net/libpcap/buildlink3.mk" -.include "../../lang/python/extension.mk" +.include "../../lang/python/egg.mk" .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/py-pcap/PLIST b/net/py-pcap/PLIST index a1ac170dde8..7bf9d744cfa 100644 --- a/net/py-pcap/PLIST +++ b/net/py-pcap/PLIST @@ -1,2 +1,3 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/13 10:20:53 pettai Exp $ +@comment $NetBSD: PLIST,v 1.2 2022/01/22 14:35:52 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR} ${PYSITELIB}/pcap.so -- cgit v1.2.3