summaryrefslogtreecommitdiff
path: root/security/nikto
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
commit693ec8bb1691dba5fb19266be3a686bf78df25f8 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/nikto
parent53e12bf31faa6efecb30c73112ce8bc6ea046721 (diff)
downloadpkgsrc-693ec8bb1691dba5fb19266be3a686bf78df25f8.tar.gz
DESTDIR support
Diffstat (limited to 'security/nikto')
-rw-r--r--security/nikto/Makefile30
1 files changed, 14 insertions, 16 deletions
diff --git a/security/nikto/Makefile b/security/nikto/Makefile
index 261d68896e6..f6ddaabc367 100644
--- a/security/nikto/Makefile
+++ b/security/nikto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/07/17 18:00:23 adrianp Exp $
+# $NetBSD: Makefile,v 1.16 2010/01/27 16:59:03 joerg Exp $
DISTNAME= nikto-1.36
CATEGORIES= security www
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cirt.net/code/nikto.shtml
COMMENT= URL scanner used to search for known vulnerable CGIs on websites
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-Net-SSLeay>=1.20:../../security/p5-Net-SSLeay
DEPENDS+= nmap>=2.00:../../net/nmap
@@ -27,23 +29,19 @@ SUBST_MESSAGE.conf= Fixing PREFIX in files.
CONF_FILES= ${PREFIX}/share/examples/nikto/config.txt \
${PREFIX}/share/nikto/config.txt
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin libdata/nikto/docs libdata/nikto/plugins \
+ share/doc/nikto share/examples/nikto share/nikto
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nikto
- ${INSTALL_DATA_DIR} ${PREFIX}/share/nikto
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/nikto/plugins
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/nikto/docs
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nikto
- ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/nikto
- ${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt ${PREFIX}/libdata/nikto/docs
- ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/nikto
- ${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/share/examples/nikto
- ${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DESTDIR}${PREFIX}/share/doc/nikto
+ ${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt ${DESTDIR}${PREFIX}/libdata/nikto/docs
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DESTDIR}${PREFIX}/share/doc/nikto
+ ${INSTALL_DATA} ${WRKSRC}/config.txt ${DESTDIR}${PREFIX}/share/examples/nikto
+ ${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${DESTDIR}${PREFIX}/bin/nikto
${INSTALL_DATA} ${WRKSRC}/plugins/*.plugin \
- ${PREFIX}/libdata/nikto/plugins
- ${INSTALL_DATA} ${WRKSRC}/plugins/LW.pm ${PREFIX}/libdata/nikto/plugins
- ${INSTALL_DATA} ${WRKSRC}/plugins/*.db ${PREFIX}/libdata/nikto/plugins
- ${INSTALL_DATA} ${WRKSRC}/plugins/*.txt ${PREFIX}/libdata/nikto/plugins
+ ${DESTDIR}${PREFIX}/libdata/nikto/plugins
+ ${INSTALL_DATA} ${WRKSRC}/plugins/LW.pm ${DESTDIR}${PREFIX}/libdata/nikto/plugins
+ ${INSTALL_DATA} ${WRKSRC}/plugins/*.db ${DESTDIR}${PREFIX}/libdata/nikto/plugins
+ ${INSTALL_DATA} ${WRKSRC}/plugins/*.txt ${DESTDIR}${PREFIX}/libdata/nikto/plugins
.include "../../mk/bsd.pkg.mk"