diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-27 16:58:10 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-27 16:58:10 +0800 |
commit | ee338cbbbc8c79b7c7ee36457f5fce802566eb6c (patch) | |
tree | 4b13fb1f4a5bfba9d556b79728a21eb9632dbdf1 /security | |
parent | 3baf0edb2c4d26d060176fe237bb0b5b8600eaaf (diff) | |
download | freebsd-ports-gnome-ee338cbbbc8c79b7c7ee36457f5fce802566eb6c.tar.gz freebsd-ports-gnome-ee338cbbbc8c79b7c7ee36457f5fce802566eb6c.tar.zst freebsd-ports-gnome-ee338cbbbc8c79b7c7ee36457f5fce802566eb6c.zip |
- Support staging
- Use shebangfix
Diffstat (limited to 'security')
-rw-r--r-- | security/hackbot/Makefile | 22 | ||||
-rw-r--r-- | security/hackbot/pkg-plist | 1 |
2 files changed, 11 insertions, 12 deletions
diff --git a/security/hackbot/Makefile b/security/hackbot/Makefile index ad43e2bed5e6..4637aaa0145b 100644 --- a/security/hackbot/Makefile +++ b/security/hackbot/Makefile @@ -11,23 +11,21 @@ EXTRACT_SUFX= .tgz MAINTAINER= mich@FreeBSD.org COMMENT= Host exploration tool and bannergrabber -USES= perl5 -NO_BUILD= YES +USES= perl5 shebangfix +NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes +SHEBANG_FILES= hackbot.pl + pre-patch: @${REINPLACE_CMD} -e 's|/usr/local/etc|${DATADIR}|' ${WRKSRC}/hackbot.pl do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/google.db ${DATADIR}/google.db - ${INSTALL_DATA} ${WRKSRC}/fingerprint.db ${DATADIR}/fingerprint.db - ${INSTALL_DATA} ${WRKSRC}/cgi.db ${DATADIR}/cgi.db - ${INSTALL_SCRIPT} ${WRKSRC}/hackbot.pl ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/hackbot.1.gz ${PREFIX}/man/man1/ - -MAN1= hackbot.1 -MANCOMPRESSED= yes + @${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> diff --git a/security/hackbot/pkg-plist b/security/hackbot/pkg-plist index 0ab7f1e6fb5e..bd5ca9b5c957 100644 --- a/security/hackbot/pkg-plist +++ b/security/hackbot/pkg-plist @@ -1,4 +1,5 @@ bin/hackbot.pl +man/man1/hackbot.1.gz %%DATADIR%%/google.db %%DATADIR%%/fingerprint.db %%DATADIR%%/cgi.db |