blob: 50ecca213084eaeab4ef33729b14d0e2c6c4d90e (
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
37
38
39
40
41
42
|
# Created by: Ryan Steinmetz <rpsfa@rit.edu>
# $FreeBSD$
PORTNAME= skipfish
PORTVERSION= 2.10b
PORTREVISION= 1
CATEGORIES= security www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
EXTRACT_SUFX= .tgz
MAINTAINER= zi@FreeBSD.org
COMMENT= A fully automated, active web application security reconnaissance tool
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn \
pcre:${PORTSDIR}/devel/pcre
USES= gmake
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
PORTDOCS= README COPYING ChangeLog
post-patch:
@${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/complete.wl":' \
-e 's:"assets":"${DATADIR}/assets":' ${WRKSRC}/src/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/skipfish ${STAGEDIR}${PREFIX}/bin/skipfish
${INSTALL_SCRIPT} ${WRKSRC}/tools/sfscandiff ${STAGEDIR}${PREFIX}/bin/sfscandiff
${INSTALL_MAN} ${WRKSRC}/doc/skipfish.1 ${STAGEDIR}${PREFIX}/man/man1
(cd ${WRKSRC}/assets/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/assets/)
(cd ${WRKSRC}/dictionaries/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/dictionaries/)
${MKDIR} ${STAGEDIR}${DOCSDIR}
. for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
. endfor
.include <bsd.port.mk>
|