1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

1: Stagify.

2: new syntax of LIB_DEPENDS
3: USES=libtool, bump version.

Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-20 16:35:57 +00:00
parent 990cc8fdc8
commit 4b5167910e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358601
2 changed files with 3 additions and 7 deletions

View File

@ -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")

View File

@ -1,5 +1,3 @@
%%PYTHON_SITELIBDIR%%/netsnmpc.a
%%PYTHON_SITELIBDIR%%/netsnmpc.la
%%PYTHON_SITELIBDIR%%/netsnmpc.so
%%PYTHON_SITELIBDIR%%/netsnmp.py
%%PYTHON_SITELIBDIR%%/yapsnmp.py