summaryrefslogtreecommitdiff
path: root/www/whisker/Makefile
blob: 7c87ccdd861a012bb41a7ec2995bde54f341389c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.5 2007/02/22 19:27:24 wiz 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"