blob: 10332b35f5718b28bb401b0fc25247cb3762d53c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: mich@freebsdcluster.org
# $FreeBSD$
PORTNAME= hackbot
PORTVERSION= 2.21
CATEGORIES= security
MASTER_SITES= http://freebsdcluster.org/~mich/software/ \
http://hackbot.stream-portal.org/
MAINTAINER= mich@FreeBSD.org
COMMENT= Host exploration tool and bannergrabber
USES= perl5 shebangfix tar:tgz
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
SHEBANG_FILES= hackbot.pl
pre-patch:
@${REINPLACE_CMD} -e 's|/usr/local/etc|${DATADIR}|' ${WRKSRC}/hackbot.pl
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/google.db ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/fingerprint.db ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/cgi.db ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/hackbot.pl ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hackbot.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
|