# Created by: Ryan Steinmetz # $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 .if !defined(NOPORTDOCS) PORTDOCS= README COPYING ChangeLog .endif .include 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/) .if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} . endfor .endif .include