summaryrefslogtreecommitdiff
path: root/security/skipfish/Makefile
blob: 65e91d0549a9160d8f098c2471dbc50da9ed9682 (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
35
36
37
38
39
40
41
42
43
44
45
# Created by: Ryan Steinmetz <rpsfa@rit.edu>
# $FreeBSD$

PORTNAME=	skipfish
PORTVERSION=	2.10b
PORTREVISION=	5
CATEGORIES=	security www
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	zi@FreeBSD.org
COMMENT=	Fully automated, active web application security reconnaissance tool

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN=		Unfetchable (google code has gone away)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

LIB_DEPENDS=	libidn.so:dns/libidn \
		libpcre.so:devel/pcre

USES=		gmake tar:tgz ssl
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>