diff options
author | fenner <fenner@FreeBSD.org> | 1999-09-11 08:55:52 +0800 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1999-09-11 08:55:52 +0800 |
commit | 33c293b427ea6b129b1cf87243c8d981b491c6ff (patch) | |
tree | 69ff54c8d329f30859c9f8f1135e0c45166cf55f /net/rrdtool | |
parent | d0e6ebc6f064edbe6297564014493d5e9d542b23 (diff) | |
download | freebsd-ports-gnome-33c293b427ea6b129b1cf87243c8d981b491c6ff.tar.gz freebsd-ports-gnome-33c293b427ea6b129b1cf87243c8d981b491c6ff.tar.zst freebsd-ports-gnome-33c293b427ea6b129b1cf87243c8d981b491c6ff.zip |
Let the generated Makefiles install the perl modules.
(I'm not positive why there's a do-install: target at all,
but since there are less than 5 minutes til the freeze
I'm not going to investigate yet!)
Diffstat (limited to 'net/rrdtool')
-rw-r--r-- | net/rrdtool/Makefile | 7 | ||||
-rw-r--r-- | net/rrdtool/pkg-plist | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/net/rrdtool/Makefile b/net/rrdtool/Makefile index bb8d6e0acbf3..719fd89952f0 100644 --- a/net/rrdtool/Makefile +++ b/net/rrdtool/Makefile @@ -22,6 +22,8 @@ CONFIGURE_ENV= PERL=${PERL} MAN1= RRDp.1 RRDs.1 bin_dec_hex.1 rrdcgi.1 rrdcreate.1 rrddump.1 \ rrdfetch.1 rrdgraph.1 rrdlast.1 rrdresize.1 rrdrestore.1 \ rrdtool.1 rrdtune.1 rrdtutorial.1 rrdupdate.1 +MAN3= RRDp.3 RRDs.3 +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/rrdtool ${PREFIX}/bin @@ -36,9 +38,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/contrib/log2rrd/README ${PREFIX}/share/doc/rrdtool/README.log2rrd ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/rrdtool .endif - ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER} - for file in piped/RRDp.pm shared/RRDs.pm; do \ - ${INSTALL_DATA} ${WRKSRC}/perl-$$file ${PREFIX}/lib/perl5/site_perl/${PERL_VER}; \ + for dir in piped shared; do \ + cd ${WRKSRC}/perl-$$dir; ${MAKE} install; \ done post-install: diff --git a/net/rrdtool/pkg-plist b/net/rrdtool/pkg-plist index 61ec49635812..5d03426f117f 100644 --- a/net/rrdtool/pkg-plist +++ b/net/rrdtool/pkg-plist @@ -24,6 +24,10 @@ share/doc/rrdtool/rrdtune.html share/doc/rrdtool/rrdtutorial.html share/doc/rrdtool/rrdupdate.html lib/perl5/site_perl/%%PERL_VER%%/RRDp.pm -lib/perl5/site_perl/%%PERL_VER%%/RRDs.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDp/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/RRDs.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/RRDs.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RRDs/.packlist @dirrm share/examples/rrdtool @dirrm share/doc/rrdtool |