1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

o Fix whitespace (to tab)

o Fix path to database files problem [1]
o use %%DATADIR%% while we are here

Submitted by:	andreas[1]
This commit is contained in:
Michael Landin 2005-10-03 13:51:14 +00:00
parent a921804a53
commit 1182d9abe1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144061
2 changed files with 6 additions and 6 deletions

View File

@ -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}

View File

@ -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%%