aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rrdtool10
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1999-09-11 08:55:52 +0800
committerfenner <fenner@FreeBSD.org>1999-09-11 08:55:52 +0800
commit33c293b427ea6b129b1cf87243c8d981b491c6ff (patch)
tree69ff54c8d329f30859c9f8f1135e0c45166cf55f /databases/rrdtool10
parentd0e6ebc6f064edbe6297564014493d5e9d542b23 (diff)
downloadfreebsd-ports-graphics-33c293b427ea6b129b1cf87243c8d981b491c6ff.tar.gz
freebsd-ports-graphics-33c293b427ea6b129b1cf87243c8d981b491c6ff.tar.zst
freebsd-ports-graphics-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 'databases/rrdtool10')
-rw-r--r--databases/rrdtool10/Makefile7
-rw-r--r--databases/rrdtool10/pkg-plist6
2 files changed, 9 insertions, 4 deletions
diff --git a/databases/rrdtool10/Makefile b/databases/rrdtool10/Makefile
index bb8d6e0acbf..719fd89952f 100644
--- a/databases/rrdtool10/Makefile
+++ b/databases/rrdtool10/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/rrdtool10/pkg-plist b/databases/rrdtool10/pkg-plist
index 61ec4963581..5d03426f117 100644
--- a/databases/rrdtool10/pkg-plist
+++ b/databases/rrdtool10/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