summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/net-snmp/Makefile.common6
-rw-r--r--net/py-netsnmp/Makefile11
-rw-r--r--net/py-netsnmp/distinfo5
3 files changed, 10 insertions, 12 deletions
diff --git a/net/net-snmp/Makefile.common b/net/net-snmp/Makefile.common
index 3fb07492d8d..eb431c71f08 100644
--- a/net/net-snmp/Makefile.common
+++ b/net/net-snmp/Makefile.common
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2014/12/31 10:06:57 adam Exp $
-
+# $NetBSD: Makefile.common,v 1.3 2015/01/09 14:00:00 adam Exp $
# used by net/net-snmp/Makefile
# used by net/py-netsnmp/Makefile
@@ -8,3 +7,6 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}
HOMEPAGE= http://www.net-snmp.org/
LICENSE= modified-bsd
+
+DISTINFO_FILE= ${.CURDIR}/../../net/net-snmp/distinfo
+PATCHDIR= ${.CURDIR}/../../net/net-snmp/patches
diff --git a/net/py-netsnmp/Makefile b/net/py-netsnmp/Makefile
index a66a20a412e..6ab9032530d 100644
--- a/net/py-netsnmp/Makefile
+++ b/net/py-netsnmp/Makefile
@@ -1,18 +1,19 @@
-# $NetBSD: Makefile,v 1.1 2014/08/05 12:22:43 he Exp $
+# $NetBSD: Makefile,v 1.2 2015/01/09 14:00:00 adam Exp $
.include "../../net/net-snmp/Makefile.common"
+
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/net-snmp/netsnmp/}
CATEGORIES= net python
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Python bindings to extensible SNMP implementation
-WRKSRC= ${WRKDIR}/${DISTNAME}/python
-
-USE_LANGUAGES= c
-EGG_NAME= netsnmp_python-1.0a1
PYTHON_VERSIONS_INCOMPATIBLE= 33 34
+USE_LANGUAGES= c
+EGG_NAME= netsnmp_python-1.0a1
+PYSETUPSUBDIR= python
+
.include "../../net/net-snmp/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-netsnmp/distinfo b/net/py-netsnmp/distinfo
deleted file mode 100644
index abc74cb2516..00000000000
--- a/net/py-netsnmp/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.1 2014/08/05 12:22:43 he Exp $
-
-SHA1 (net-snmp-5.7.2.1.tar.gz) = 815d4e5520a1ed96a27def33e7534b4190599f0f
-RMD160 (net-snmp-5.7.2.1.tar.gz) = 129b74e70a5027749c766ea9cdb53a3c4a3cf40b
-Size (net-snmp-5.7.2.1.tar.gz) = 6281532 bytes