summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2010-03-07 23:16:12 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2010-03-07 23:16:12 +0000
commita2d5cbb6d5af67f2345858a12b11a128a0d04990 (patch)
tree27282319d60b53070af3da7ad5f7485176ce8ce0 /databases
parent- Update to 20100131 (diff)
- honor NOPORTDOCS|NOPORTEXAMPLES
PR: 144021 Submitted by: Dan Lukes Approved by: maintainer timeout Feature safe: yes
Notes
Notes: svn path=/head/; revision=250676
Diffstat (limited to 'databases')
-rw-r--r--databases/rrdtool/Makefile7
-rw-r--r--databases/rrdtool/pkg-plist4
2 files changed, 6 insertions, 5 deletions
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile
index 62c61b360852..5df10d657c60 100644
--- a/databases/rrdtool/Makefile
+++ b/databases/rrdtool/Makefile
@@ -101,12 +101,13 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-extract:
@${REINPLACE_CMD} -e 's/^POD3/#POD3/' ${WRKSRC}/doc/Makefile.in
.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's/install-idocDATA install-ihtmlDATA//g' \
- -e 's/^ cd .* rrdtool.html index.html/ #/' \
+ @${REINPLACE_CMD} -e 's/[[:space:]]install-idocDATA//g' \
+ -e 's/[[:space:]]install-ihtmlDATA//g' \
+ -e 's/^[[:space:]].*cd .* rrdtool.html index.html/ #/' \
${WRKSRC}/doc/Makefile.in
.endif
.if defined(NOPORTEXAMPLES)
- ${REINPLACE_CMD} -e 's|SUBDIRS = po src examples doc bindings intl|SUBDIRS = po src doc bindings intl|' \
+ ${REINPLACE_CMD} -e '/^SUBDIRS = /s| examples | |' \
${WRKSRC}/Makefile.in
.endif
diff --git a/databases/rrdtool/pkg-plist b/databases/rrdtool/pkg-plist
index 7e15d210f74a..6fba0cd60f89 100644
--- a/databases/rrdtool/pkg-plist
+++ b/databases/rrdtool/pkg-plist
@@ -24,8 +24,8 @@ libdata/pkgconfig/librrd.pc
%%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/RRD.so
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs
-share/rrdtool/examples/rrdcached/RRDCached.pm
-share/rrdtool/examples/rrdcached/rrdcached-size.pl
+%%PORTEXAMPLES%%share/rrdtool/examples/rrdcached/RRDCached.pm
+%%PORTEXAMPLES%%share/rrdtool/examples/rrdcached/rrdcached-size.pl
@dirrm share/rrdtool/examples/rrdcached
@dirrm share/rrdtool/examples
@dirrm share/rrdtool