diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 16:52:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 16:52:13 +0000 |
commit | 693ec8bb1691dba5fb19266be3a686bf78df25f8 (patch) | |
tree | 9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/hackbot | |
parent | 53e12bf31faa6efecb30c73112ce8bc6ea046721 (diff) | |
download | pkgsrc-693ec8bb1691dba5fb19266be3a686bf78df25f8.tar.gz |
DESTDIR support
Diffstat (limited to 'security/hackbot')
-rw-r--r-- | security/hackbot/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/security/hackbot/Makefile b/security/hackbot/Makefile index c7f74fd7e5e..09d07218735 100644 --- a/security/hackbot/Makefile +++ b/security/hackbot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/12/02 12:21:18 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2010/01/27 17:17:27 joerg Exp $ DISTNAME= hackbot-2.15 CATEGORIES= security net @@ -9,21 +9,23 @@ MAINTAINER= nk@atki.net HOMEPAGE= http://ws.obit.nl/hackbot/ COMMENT= Vulnerability scanner written in Perl +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/hackbot MANCOMPRESSED= YES USE_TOOLS+= perl:run REPLACE_PERL= hackbot.pl -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/hackbot do-build: ${SED} "s,/usr/local/etc,${PREFIX}/share/hackbot,g" ${WRKSRC}/hackbot.pl > ${WRKSRC}/hackbot.pl.done ${MV} ${WRKSRC}/hackbot.pl.done ${WRKSRC}/hackbot.pl do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/hackbot - ${INSTALL_SCRIPT} ${WRKSRC}/hackbot.pl ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/cgi.db ${WRKSRC}/fingerprint.db ${PREFIX}/share/hackbot - ${INSTALL_MAN} ${WRKSRC}/hackbot.1.gz ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/hackbot.pl ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cgi.db ${WRKSRC}/fingerprint.db \ + ${DESTDIR}${PREFIX}/share/hackbot + ${INSTALL_MAN} ${WRKSRC}/hackbot.1.gz ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |