aboutsummaryrefslogtreecommitdiff
path: root/databases/rrdtool12/Makefile
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2010-04-10 09:34:02 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2010-04-10 09:34:02 +0000
commit448f9afa68eefd956a31bbcdea7dc53b42630a3f (patch)
tree822d7889f33db0662af791232aab7a0fbad93127 /databases/rrdtool12/Makefile
parente69b24ae251fa39ffba1eb8a92de17a71b072b9f (diff)
downloadports-448f9afa68eefd956a31bbcdea7dc53b42630a3f.tar.gz
ports-448f9afa68eefd956a31bbcdea7dc53b42630a3f.zip
Notes
Diffstat (limited to 'databases/rrdtool12/Makefile')
-rw-r--r--databases/rrdtool12/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/rrdtool12/Makefile b/databases/rrdtool12/Makefile
index 89e536ff9216..d8b50deaceca 100644
--- a/databases/rrdtool12/Makefile
+++ b/databases/rrdtool12/Makefile
@@ -90,9 +90,13 @@ post-extract:
-e 's/^ cd .* rrdtool.html index.html/ #/' \
${WRKSRC}/doc/Makefile.in
.endif
+.if defined(NOPORTEXAMPLES)
+ ${REINPLACE_CMD} -e '/^SUBDIRS = /s| examples | |' \
+ ${WRKSRC}/Makefile.in
+.endif
post-install:
-.if !defined(BATCH)
+.if !defined(BATCH) && !defined(NOPORTEXAMPLES)
@${ECHO_MSG} ""
@${ECHO_MSG} "############################################################################"
@${ECHO_MSG} "# See ${PREFIX}/share/examples/rrdtool for some demonstration code #"