diff options
author | jlam <jlam@pkgsrc.org> | 2000-08-27 07:10:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-08-27 07:10:59 +0000 |
commit | 18cba9d7fa4ef20bc11b28b998233dddeb7ae32d (patch) | |
tree | fd4f0178e134e50e9dc8acc6e016d62c645457cf /net/p5-SNMP | |
parent | 81bbfb25563e0e7d2f441eff32793eb50b7549e4 (diff) | |
download | pkgsrc-18cba9d7fa4ef20bc11b28b998233dddeb7ae32d.tar.gz |
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently
correctly.
As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs. It's now easier than ever to make a perl5
package for NetBSD :)
Diffstat (limited to 'net/p5-SNMP')
-rw-r--r-- | net/p5-SNMP/Makefile | 10 | ||||
-rw-r--r-- | net/p5-SNMP/pkg/PLIST | 2 | ||||
-rw-r--r-- | net/p5-SNMP/pkg/PLIST-md.shared | 4 | ||||
-rw-r--r-- | net/p5-SNMP/pkg/PLIST-md.static | 4 | ||||
-rw-r--r-- | net/p5-SNMP/pkg/PLIST-mi | 6 |
5 files changed, 8 insertions, 18 deletions
diff --git a/net/p5-SNMP/Makefile b/net/p5-SNMP/Makefile index 2e52787cc5e..355fe1d16e2 100644 --- a/net/p5-SNMP/Makefile +++ b/net/p5-SNMP/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2000/04/09 18:32:23 tron Exp $ +# $NetBSD: Makefile,v 1.6 2000/08/27 07:11:17 jlam Exp $ # FreeBSD Id: Makefile,v 1.1.1.1 1997/06/27 01:53:13 jfitz Exp # @@ -11,12 +11,14 @@ MAINTAINER= packages@netbsd.org DEPENDS= ucd-snmp>=4.0.1:../../net/ucd-snmp -USE_PERL5= yes +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SNMP/.packlist do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL post-install: - @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/perl5/site_perl/README.SNMP + @${INSTALL_DATA} ${WRKSRC}/README \ + ${PREFIX}/lib/perl5/site_perl/README.SNMP .include "../../mk/bsd.pkg.mk" diff --git a/net/p5-SNMP/pkg/PLIST b/net/p5-SNMP/pkg/PLIST new file mode 100644 index 00000000000..e52964024e4 --- /dev/null +++ b/net/p5-SNMP/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2000/08/27 07:11:18 jlam Exp $ +lib/perl5/site_perl/README.SNMP diff --git a/net/p5-SNMP/pkg/PLIST-md.shared b/net/p5-SNMP/pkg/PLIST-md.shared deleted file mode 100644 index 6fcefaf5d44..00000000000 --- a/net/p5-SNMP/pkg/PLIST-md.shared +++ /dev/null @@ -1,4 +0,0 @@ -@comment $NetBSD: PLIST-md.shared,v 1.2 1999/04/08 18:51:57 agc Exp $ -lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/SNMP/SNMP.bs -lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/SNMP/SNMP.so -@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/SNMP diff --git a/net/p5-SNMP/pkg/PLIST-md.static b/net/p5-SNMP/pkg/PLIST-md.static deleted file mode 100644 index 53efdaa2467..00000000000 --- a/net/p5-SNMP/pkg/PLIST-md.static +++ /dev/null @@ -1,4 +0,0 @@ -@comment $NetBSD: PLIST-md.static,v 1.2 1999/04/08 18:51:57 agc Exp $ -lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/SNMP/SNMP.a -lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/SNMP/extralibs.ld -@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/SNMP diff --git a/net/p5-SNMP/pkg/PLIST-mi b/net/p5-SNMP/pkg/PLIST-mi deleted file mode 100644 index d01e578915f..00000000000 --- a/net/p5-SNMP/pkg/PLIST-mi +++ /dev/null @@ -1,6 +0,0 @@ -@comment $NetBSD: PLIST-mi,v 1.2 1999/04/08 18:51:57 agc Exp $ -lib/perl5/site_perl/auto/SNMP/autosplit.ix -lib/perl5/site_perl/SNMP.pm -lib/perl5/site_perl/README.SNMP -lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/SNMP/.packlist -@dirrm lib/perl5/site_perl/auto/SNMP |