54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
31 lines
713 B
Makefile
31 lines
713 B
Makefile
# New ports collection makefile for: py-yapsnmp
|
|
# Date created: 2005-01-07
|
|
# Whom: arved
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yapsnmp
|
|
PORTVERSION= 0.7.8
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= yapsnmp
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
COMMENT= Python SNMP module based on net-snmp
|
|
|
|
LIB_DEPENDS= netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp
|
|
|
|
USE_GMAKE= yes
|
|
USE_PYTHON= yes
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,-lsnmp,-lnetsnmp," \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|