diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-08-26 13:52:16 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-08-26 13:52:16 +0000 |
commit | 5fb3fcfd854755dab729413bf85e4ed8fc71187d (patch) | |
tree | f169a2f1d321a31bfb12c6546b3a14f4924f8075 /net/php4-rrdtool | |
parent | 223c86b3a20ef85caa73c78cdb587728e780cdf5 (diff) |
Add some examples
Notes
Notes:
svn path=/head/; revision=117310
Diffstat (limited to 'net/php4-rrdtool')
-rw-r--r-- | net/php4-rrdtool/Makefile | 5 | ||||
-rw-r--r-- | net/php4-rrdtool/pkg-plist | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net/php4-rrdtool/Makefile b/net/php4-rrdtool/Makefile index 252ea76043ca..0bc031bf9b82 100644 --- a/net/php4-rrdtool/Makefile +++ b/net/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/net/php4-rrdtool/pkg-plist b/net/php4-rrdtool/pkg-plist new file mode 100644 index 000000000000..e4647ab69b32 --- /dev/null +++ b/net/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%% |