aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-yapsnmp/Makefile
blob: 3b512d9cc431be2377f0ffbbe4ad7bd7ac25e6b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    py-yapsnmp
# Date created:             2005-01-07
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   yapsnmp
PORTVERSION=    0.7.8
PORTREVISION=   1
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
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>