diff options
Diffstat (limited to 'databases/php4-rrdtool')
-rw-r--r-- | databases/php4-rrdtool/Makefile | 5 | ||||
-rw-r--r-- | databases/php4-rrdtool/pkg-plist | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/databases/php4-rrdtool/Makefile b/databases/php4-rrdtool/Makefile index 252ea76..0bc031b 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 0000000..e4647ab --- /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%% |