aboutsummaryrefslogtreecommitdiff
path: root/databases/php4-rrdtool
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-08-26 13:52:16 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-08-26 13:52:16 +0000
commit5fb3fcfd854755dab729413bf85e4ed8fc71187d (patch)
treef169a2f1d321a31bfb12c6546b3a14f4924f8075 /databases/php4-rrdtool
parent223c86b3a20ef85caa73c78cdb587728e780cdf5 (diff)
downloadports-5fb3fcfd854755dab729413bf85e4ed8fc71187d.tar.gz
ports-5fb3fcfd854755dab729413bf85e4ed8fc71187d.zip
Notes
Diffstat (limited to 'databases/php4-rrdtool')
-rw-r--r--databases/php4-rrdtool/Makefile5
-rw-r--r--databases/php4-rrdtool/pkg-plist7
2 files changed, 12 insertions, 0 deletions
diff --git a/databases/php4-rrdtool/Makefile b/databases/php4-rrdtool/Makefile
index 252ea76043ca..0bc031bf9b82 100644
--- a/databases/php4-rrdtool/Makefile
+++ b/databases/php4-rrdtool/Makefile
@@ -24,4 +24,9 @@ WRKSRC= ${WRKDIR}/${UNIQUENAME}-${PORTVERSION}
USE_PHP= yes
USE_PHPEXT= yes
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+ @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
+
.include <bsd.port.mk>
diff --git a/databases/php4-rrdtool/pkg-plist b/databases/php4-rrdtool/pkg-plist
new file mode 100644
index 000000000000..e4647ab69b32
--- /dev/null
+++ b/databases/php4-rrdtool/pkg-plist
@@ -0,0 +1,7 @@
+%%PORTDOCS%%%%EXAMPLESDIR%%/etc3p16.rrd
+%%PORTDOCS%%%%EXAMPLESDIR%%/rrd_create.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/rrd_graph.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/rrd_last.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/rrd_update.php
+%%PORTDOCS%%%%EXAMPLESDIR%%/test_fetch.php
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%