summaryrefslogtreecommitdiffstats
path: root/databases/rrdtool
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1999-09-11 00:55:52 +0000
committerfenner <fenner@FreeBSD.org>1999-09-11 00:55:52 +0000
commit33c293b427ea6b129b1cf87243c8d981b491c6ff (patch)
tree69ff54c8d329f30859c9f8f1135e0c45166cf55f /databases/rrdtool
parentd0e6ebc6f064edbe6297564014493d5e9d542b23 (diff)
downloadFreeBSD-ports-33c293b427ea6b129b1cf87243c8d981b491c6ff.zip
FreeBSD-ports-33c293b427ea6b129b1cf87243c8d981b491c6ff.tar.gz
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 'databases/rrdtool')
-rw-r--r--databases/rrdtool/Makefile7
-rw-r--r--databases/rrdtool/pkg-plist6
2 files changed, 9 insertions, 4 deletions
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile
index bb8d6e0..719fd89 100644
--- a/databases/rrdtool/Makefile
+++ b/databases/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/databases/rrdtool/pkg-plist b/databases/rrdtool/pkg-plist
index 61ec496..5d03426 100644
--- a/databases/rrdtool/pkg-plist
+++ b/databases/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
OpenPOWER on IntegriCloud