aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-21 00:35:57 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-21 00:35:57 +0800
commitbaaad6cfe040cdec3692ebb27e4682c5067daacb (patch)
treeb97fb6e49cad20a315c962cad3865832864cb907
parentef7bb1d325b8543034a934b9a1c0ae862e414532 (diff)
downloadfreebsd-ports-gnome-baaad6cfe040cdec3692ebb27e4682c5067daacb.tar.gz
freebsd-ports-gnome-baaad6cfe040cdec3692ebb27e4682c5067daacb.tar.zst
freebsd-ports-gnome-baaad6cfe040cdec3692ebb27e4682c5067daacb.zip
1: Stagify.
2: new syntax of LIB_DEPENDS 3: USES=libtool, bump version. Approved by: portmgr@
-rw-r--r--net-mgmt/py-yapsnmp/Makefile8
-rw-r--r--net-mgmt/py-yapsnmp/pkg-plist2
2 files changed, 3 insertions, 7 deletions
diff --git a/net-mgmt/py-yapsnmp/Makefile b/net-mgmt/py-yapsnmp/Makefile
index 4048804ca2ce..1032c918bc95 100644
--- a/net-mgmt/py-yapsnmp/Makefile
+++ b/net-mgmt/py-yapsnmp/Makefile
@@ -3,7 +3,7 @@
PORTNAME= yapsnmp
PORTVERSION= 0.7.8
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= net-mgmt python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,20 +11,18 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= arved@FreeBSD.org
COMMENT= Python SNMP module based on net-snmp
-LIB_DEPENDS= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_AUTOTOOLS= libtool
-USES= gmake
+USES= gmake libtool
USE_PYTHON= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR}
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--enable-site-packages-prefix=${PREFIX}
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if (${OSVERSION} >= 800000) && (${ARCH} == "i386")
diff --git a/net-mgmt/py-yapsnmp/pkg-plist b/net-mgmt/py-yapsnmp/pkg-plist
index 7d03ffe81b15..de17dabd0362 100644
--- a/net-mgmt/py-yapsnmp/pkg-plist
+++ b/net-mgmt/py-yapsnmp/pkg-plist
@@ -1,5 +1,3 @@
-%%PYTHON_SITELIBDIR%%/netsnmpc.a
-%%PYTHON_SITELIBDIR%%/netsnmpc.la
%%PYTHON_SITELIBDIR%%/netsnmpc.so
%%PYTHON_SITELIBDIR%%/netsnmp.py
%%PYTHON_SITELIBDIR%%/yapsnmp.py