aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2005-10-03 21:51:14 +0800
committermich <mich@FreeBSD.org>2005-10-03 21:51:14 +0800
commit4a753a42314062458653c673d4a90eebef34431b (patch)
tree7dee3478824b81715d50fd5adc5dd615cab0a602 /security
parent701f289a2408423945c99ce7fc6e78b6b66bfbe4 (diff)
downloadfreebsd-ports-graphics-4a753a42314062458653c673d4a90eebef34431b.tar.gz
freebsd-ports-graphics-4a753a42314062458653c673d4a90eebef34431b.tar.zst
freebsd-ports-graphics-4a753a42314062458653c673d4a90eebef34431b.zip
o Fix whitespace (to tab)
o Fix path to database files problem [1] o use %%DATADIR%% while we are here Submitted by: andreas[1]
Diffstat (limited to 'security')
-rw-r--r--security/hackbot/Makefile4
-rw-r--r--security/hackbot/pkg-plist8
2 files changed, 6 insertions, 6 deletions
diff --git a/security/hackbot/Makefile b/security/hackbot/Makefile
index c9ff8a3e37f..3d05d3cf83f 100644
--- a/security/hackbot/Makefile
+++ b/security/hackbot/Makefile
@@ -9,7 +9,7 @@ PORTNAME= hackbot
PORTVERSION= 2.21
CATEGORIES= security
MASTER_SITES= http://ws.obit.nl/hackbot/
-EXTRACT_SUFX= .tgz
+EXTRACT_SUFX= .tgz
MAINTAINER= mich@FreeBSD.org
COMMENT= A host exploration tool and bannergrabber
@@ -20,7 +20,7 @@ NO_BUILD= YES
WRKSRC= ${WRKDIR}/${PORTNAME}
pre-patch:
- @${REINPLACE_CMD} -e 's|/usr/local/etc/|${DATADIR}/hackbot/|' ${WRKSRC}/hackbot.pl
+ @${REINPLACE_CMD} -e 's|/usr/local/etc|${DATADIR}|' ${WRKSRC}/hackbot.pl
do-install:
${MKDIR} ${DATADIR}
diff --git a/security/hackbot/pkg-plist b/security/hackbot/pkg-plist
index 656fe731b6c..0ab7f1e6fb5 100644
--- a/security/hackbot/pkg-plist
+++ b/security/hackbot/pkg-plist
@@ -1,5 +1,5 @@
bin/hackbot.pl
-share/hackbot/google.db
-share/hackbot/fingerprint.db
-share/hackbot/cgi.db
-@dirrm share/hackbot
+%%DATADIR%%/google.db
+%%DATADIR%%/fingerprint.db
+%%DATADIR%%/cgi.db
+@dirrm %%DATADIR%%