aboutsummaryrefslogtreecommitdiff
path: root/security/hackbot
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2005-10-03 13:51:14 +0000
committerMichael Landin <mich@FreeBSD.org>2005-10-03 13:51:14 +0000
commit1182d9abe1ca6bc5a0c90880b597c3b66b1e3157 (patch)
treea8981249ef1091a8fb38b423e867874b87621571 /security/hackbot
parenta921804a53b429ff2ae4b85476876d80926d0e0e (diff)
downloadports-1182d9abe1ca6bc5a0c90880b597c3b66b1e3157.tar.gz
ports-1182d9abe1ca6bc5a0c90880b597c3b66b1e3157.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]
Notes
Notes: svn path=/head/; revision=144061
Diffstat (limited to 'security/hackbot')
-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 c9ff8a3e37fd..3d05d3cf83f9 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 656fe731b6c9..0ab7f1e6fb5e 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%%