1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net-mgmt/p5-Net-SNMP/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

36 lines
861 B
Makefile

# New ports collection makefile for: p5-Net-SNMP
# Date created: 30 June 2000
# Whom: Christopher N. Harrell <cnh@ivmg.net>
#
# $FreeBSD$
#
PORTNAME= Net-SNMP
PORTVERSION= 5.2.0
CATEGORIES= net-mgmt perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= A perl module for SNMP... Net::SNMP
BUILD_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \
${ARCH_PERL}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
${SITE_PERL}/Digest/HMAC.pm:${PORTSDIR}/security/p5-Digest-HMAC
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
ARCH_PERL= ${SITE_PERL}/${PERL_ARCH}
CONFLICTS= p5-Net-SNMP3-[0-9]*
MAN1= snmpkey.1
MAN3= Net::SNMP.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+= ${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
.endif
.include <bsd.port.post.mk>