summaryrefslogtreecommitdiff
path: root/net-mgmt/pmacct
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-14 19:14:25 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-14 19:14:25 +0000
commita220d6854d3a630432c5c7d4fca45588d56afe2d (patch)
treef1fd7b2c3557ff6ea3b82cdea3162e27888e4b11 /net-mgmt/pmacct
parentFix typo (diff)
- Install additional examples
- Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=107055
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%%