aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bindgraph
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-06-10 16:33:40 +0800
committerpi <pi@FreeBSD.org>2014-06-10 16:33:40 +0800
commitd556b4abe6fbc60e1334c7cf6c99221c70ca17fb (patch)
tree3c2b5c6400653406440020b9ef63be424a7be0d7 /dns/bindgraph
parent9cbad15bc1ce6e77ff4b907734f2b4397f424cd8 (diff)
downloadfreebsd-ports-gnome-d556b4abe6fbc60e1334c7cf6c99221c70ca17fb.tar.gz
freebsd-ports-gnome-d556b4abe6fbc60e1334c7cf6c99221c70ca17fb.tar.zst
freebsd-ports-gnome-d556b4abe6fbc60e1334c7cf6c99221c70ca17fb.zip
dns/bindgraph: shebangfix and pkg-plist fix
Approved by: rafan (maintainer), jadawin (mentor)
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%%