aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-SNMP-Util/Makefile
blob: a45237ca409753bd2d7a64061a3da8bd4f685328 (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:    p5-SNMP-Util
# Date created:             September 7 1999
# Whom:                 Bill Fenner <fenner@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   SNMP-Util
PORTVERSION=    1.8
PORTREVISION=   1
CATEGORIES= net-mgmt perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@FreeBSD.org
COMMENT=    Perl modules to perform SNMP set,get,walk,next,walk_hash etc

#
# Define WITH_NETSNMP4 to use net-mgmt/net-snmp4 instead of net-mgmt/net-snmp.
#
.if !defined(WITH_NETSNMP4)
RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/SNMP.pm:${PORTSDIR}/net-mgmt/net-snmp
EXTRA_PATCHES+= ${PATCHDIR}/extra-net-snmp-patch-Makefile.PL
.else
RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/SNMP.pm:${PORTSDIR}/net-mgmt/p5-SNMP
.endif

PERL_CONFIGURE= yes

MAN3=       SNMP::Util.3

.include <bsd.port.mk>