aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-15 03:14:25 +0800
committerkrion <krion@FreeBSD.org>2004-04-15 03:14:25 +0800
commitfa05b136d49be87d2a76a28c4f50954f02c674fd (patch)
tree608e0f33b1b67f15fec998c130e457210ff6deb2 /net-mgmt
parentf7d1e0b04676f8609bfa80155f41773269b93590 (diff)
downloadfreebsd-ports-gnome-fa05b136d49be87d2a76a28c4f50954f02c674fd.tar.gz
freebsd-ports-gnome-fa05b136d49be87d2a76a28c4f50954f02c674fd.tar.zst
freebsd-ports-gnome-fa05b136d49be87d2a76a28c4f50954f02c674fd.zip
- Install additional examples
- Bump PORTREVISION
Diffstat (limited to 'net-mgmt')
-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%%