aboutsummaryrefslogtreecommitdiffstats
path: root/security/wapiti/Makefile
blob: b8890714605782694af782b02abdc9094db1282b (plain) (blame)
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
35
36
# New ports collection makefile for:    wapiti
# Date created:                3 October 2007
# Whom:                        Philippe Audeoud <jadawin@tuxaco.net>
# $FreeBSD$

PORTNAME=   wapiti
PORTVERSION=    1.1.6
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= jadawin@FreeBSD.org
COMMENT=    Wapiti is a vulnerability scanner for web applications

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/tidy:${PORTSDIR}/www/py-utidy

USE_PYTHON= 2.5+
NO_BUILD=   yes
PORTDOCS=   README

PLIST_FILES=    bin/wapiti.py \
        bin/lswww.py \
        bin/getcookie.py \
        bin/cookie.py \
        bin/BeautifulSoup.py

do-install:
.for i in wapiti.py lswww.py getcookie.py cookie.py BeautifulSoup.py
    ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin/
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>