aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bindgraph
diff options
context:
space:
mode:
Diffstat (limited to 'dns/bindgraph')
-rw-r--r--dns/bindgraph/Makefile5
-rw-r--r--dns/bindgraph/pkg-plist1
2 files changed, 4 insertions, 2 deletions
diff --git a/dns/bindgraph/Makefile b/dns/bindgraph/Makefile
index e566b8667ca5..2e9b18c3a185 100644
--- a/dns/bindgraph/Makefile
+++ b/dns/bindgraph/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bindgraph
PORTVERSION= 0.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= dns
MASTER_SITES= http://www.linux.it/~md/software/
EXTRACT_SUFX= .tgz
@@ -15,7 +15,8 @@ RUN_DEPENDS= rrdtool>=0:${PORTSDIR}/databases/rrdtool \
p5-File-Tail>=0:${PORTSDIR}/devel/p5-File-Tail
NO_BUILD= yes
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= bindgraph.pl bindgraph.cgi
CGIDIR?= ${PREFIX}/www/cgi-bin
DATADIR?= /var/db/bindgraph
diff --git a/dns/bindgraph/pkg-plist b/dns/bindgraph/pkg-plist
index 496965b62860..4c61ce3ede37 100644
--- a/dns/bindgraph/pkg-plist
+++ b/dns/bindgraph/pkg-plist
@@ -1,3 +1,4 @@
%%CGIDIR%%/bindgraph.cgi
sbin/bindgraph.pl
@dirrmtry %%CGIDIR%%
+@dirrmtry %%DATADIR%%