aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/pmacct
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/pmacct')
-rw-r--r--net-mgmt/pmacct/Makefile3
-rw-r--r--net-mgmt/pmacct/pkg-plist7
2 files changed, 10 insertions, 0 deletions
diff --git a/net-mgmt/pmacct/Makefile b/net-mgmt/pmacct/Makefile
index 8159fabeaf96..bbf30428c66f 100644
--- a/net-mgmt/pmacct/Makefile
+++ b/net-mgmt/pmacct/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pmacct
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/
@@ -41,6 +42,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure
post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in README EXAMPLES INTERNALS PLUGINS
diff --git a/net-mgmt/pmacct/pkg-plist b/net-mgmt/pmacct/pkg-plist
index 950038f8a81d..44647b817d25 100644
--- a/net-mgmt/pmacct/pkg-plist
+++ b/net-mgmt/pmacct/pkg-plist
@@ -6,4 +6,11 @@ sbin/pmacctd
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLES
%%PORTDOCS%%%%DOCSDIR%%/INTERNALS
%%PORTDOCS%%%%DOCSDIR%%/PLUGINS
+%%EXAMPLESDIR%%/mrtg.conf.hosts.example
+%%EXAMPLESDIR%%/mrtg.conf.ports.example
+%%EXAMPLESDIR%%/networks.example
+%%EXAMPLESDIR%%/pmacctd-imt.conf.example
+%%EXAMPLESDIR%%/pmacctd-names.conf.example
+%%EXAMPLESDIR%%/pmacctd-sql.conf.example
+@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%