1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/security/hackbot/Makefile
Adam Weinberger a84c115a09 Convert a bunch of EXTRACT_SUFX=... into USES=tar:...
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 19:11:51 +00:00

31 lines
858 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/
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>