3e474a90d8
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2005/07/16 01:19:26 jlam Exp $
|
|
|
|
DISTNAME= whisker-2.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= security www
|
|
MASTER_SITES= http://www.wiretrip.net/rfp/bins/whisker/
|
|
|
|
MAINTAINER= adrianp@stindustries.net
|
|
HOMEPAGE= http://www.wiretrip.net/rfp/
|
|
COMMENT= URL scanner used to search for known vulnerable CGIs on websites
|
|
|
|
DEPENDS+= p5-Net-SSLeay>=1.20:../../security/p5-Net-SSLeay
|
|
|
|
USE_TOOLS+= perl:run
|
|
REPLACE_PERL= whisker.pl
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
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
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|