1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net-mgmt/py-yapsnmp/Makefile
Ade Lovett 8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00

32 lines
703 B
Makefile

# New ports collection makefile for: py-yapsnmp
# Date created: 2005-01-07
# Whom: arved
#
# $FreeBSD$
PORTNAME= yapsnmp
PORTVERSION= 0.7.8
PORTREVISION= 2
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.9:${PORTSDIR}/net-mgmt/net-snmp
USE_GMAKE= yes
USE_PYTHON= yes
USE_REINPLACE= yes
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>