summaryrefslogtreecommitdiff
path: root/security/hackbot
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 16:52:13 +0000
committerjoerg <joerg>2010-01-27 16:52:13 +0000
commit3e260982685001c528721ed091cb7168a8fea3e4 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/hackbot
parentfdda69261d45ec9a6f1f1ae0abb87118c83d44e3 (diff)
downloadpkgsrc-3e260982685001c528721ed091cb7168a8fea3e4.tar.gz
DESTDIR support
Diffstat (limited to 'security/hackbot')
-rw-r--r--security/hackbot/Makefile14
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"