summaryrefslogtreecommitdiff
path: root/www/whisker
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /www/whisker
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'www/whisker')
-rw-r--r--www/whisker/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/www/whisker/Makefile b/www/whisker/Makefile
index 7c87ccdd861..06a87d37d50 100644
--- a/www/whisker/Makefile
+++ b/www/whisker/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/02/22 19:27:24 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/20 01:09:44 joerg Exp $
DISTNAME= whisker-2.1
PKGREVISION= 1
@@ -9,26 +9,26 @@ MAINTAINER= adrianp@stindustries.net
HOMEPAGE= http://www.wiretrip.net/rfp/
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
USE_TOOLS+= perl:run
REPLACE_PERL= whisker.pl
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin share/doc/whisker share/whisker
do-build:
${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/whisker.pl > ${WRKSRC}/whisker
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/whisker
- ${INSTALL_DATA_DIR} ${PREFIX}/share/whisker
- ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/whisker
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/whisker
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/whisker
- ${INSTALL_SCRIPT} ${WRKSRC}/whisker ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/LW.pm ${PREFIX}/share/whisker
- ${INSTALL_DATA} ${WRKSRC}/html.plugin ${PREFIX}/share/whisker
- ${INSTALL_DATA} ${WRKSRC}/main.test ${PREFIX}/share/whisker
- ${INSTALL_DATA} ${WRKSRC}/newbie.help ${PREFIX}/share/whisker
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DESTDIR}${PREFIX}/share/doc/whisker
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/whisker
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/whisker
+ ${INSTALL_SCRIPT} ${WRKSRC}/whisker ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/LW.pm ${DESTDIR}${PREFIX}/share/whisker
+ ${INSTALL_DATA} ${WRKSRC}/html.plugin ${DESTDIR}${PREFIX}/share/whisker
+ ${INSTALL_DATA} ${WRKSRC}/main.test ${DESTDIR}${PREFIX}/share/whisker
+ ${INSTALL_DATA} ${WRKSRC}/newbie.help ${DESTDIR}${PREFIX}/share/whisker
.include "../../mk/bsd.pkg.mk"