mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
db50108e8d
- Use shebangfix
32 lines
869 B
Makefile
32 lines
869 B
Makefile
# 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/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= Host exploration tool and bannergrabber
|
|
|
|
USES= perl5 shebangfix
|
|
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>
|