summaryrefslogtreecommitdiff
path: root/net/p5-SNMP
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-10-27 20:48:55 +0000
committerseb <seb@pkgsrc.org>2002-10-27 20:48:55 +0000
commite8328761a2e64473c52c452c575f52f3563840c8 (patch)
treed8d74ae58ff3705904cabfccc131ba47c29d2c9e /net/p5-SNMP
parent5f3da56d48acd27db7d1402970563ea86b3c88ab (diff)
downloadpkgsrc-e8328761a2e64473c52c452c575f52f3563840c8.tar.gz
Use buildlink2. Use perl5/module.mk.
Diffstat (limited to 'net/p5-SNMP')
-rw-r--r--net/p5-SNMP/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/net/p5-SNMP/Makefile b/net/p5-SNMP/Makefile
index 21267b53a62..6a73fc130e8 100644
--- a/net/p5-SNMP/Makefile
+++ b/net/p5-SNMP/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/04/20 18:46:07 fredb Exp $
+# $NetBSD: Makefile,v 1.13 2002/10/27 20:48:58 seb Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1997/06/27 01:53:13 jfitz Exp
#
@@ -12,9 +12,7 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SNMP/}
MAINTAINER= packages@netbsd.org
COMMENT= Perl5 module for interfacing to the UCD SNMP library
-DEPENDS= ucd-snmp-4.2.4*:../../net/ucd-snmp
-
-USE_PERL5= # defined
+USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SNMP/.packlist
# Until the source catches up to the current Perl API, we need PERL_POLLUTE
@@ -24,9 +22,6 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SNMP/.packlist
PLFILES= async1.pl async2.pl ipforward.pl mibtree.pl mibwalk.pl
PLFILES+= pingmib.pl tablewalk.pl testleak.pl
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
-
post-build:
@for i in ${PLFILES} ; do ${ECHO} "#! ${PREFIX}/bin/perl" | ${CAT} - ${WRKSRC}/examples/$$i > ${WRKDIR}/$$i ; done
@@ -38,4 +33,6 @@ post-install:
test:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} test
+.include "../../lang/perl5/module.mk"
+.include "../../net/ucd-snmp/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"