freebsd-ports/net-mgmt/py-yapsnmp/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

32 lines
799 B
Makefile

# New ports collection makefile for: py-yapsnmp
# Date created: 2005-01-07
# Whom: arved
#
# $FreeBSD$
PORTNAME= yapsnmp
PORTVERSION= 0.7.8
PORTREVISION= 5
CATEGORIES= net-mgmt python
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.16:${PORTSDIR}/net-mgmt/net-snmp
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
USE_PYTHON= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--enable-site-packages-prefix=${PREFIX}
post-patch:
${REINPLACE_CMD} -e "s,-lsnmp,-lnetsnmp," \
${WRKSRC}/configure
.include <bsd.port.mk>