# Created by: Niels Heinen # $FreeBSD$ PORTNAME= jbrofuzz PORTVERSION= 2.1 CATEGORIES= security www java MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ DISTNAME= ${PORTNAME}-jar-21 MAINTAINER= ports@FreeBSD.org COMMENT= JBroFuzz is a web application fuzzer USES= zip USE_JAVA= YES NO_BUILD= YES JAVA_VERSION= 1.6+ PORTDOCS= README INSTALL WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= ${PORTNAME}.sh SUB_LIST= JAVA_CMD=${JAVA} JBROFUZZ=${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES .include do-install: @${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/JBroFuzz.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ( cd ${WRKSRC}/fuzzers/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/fuzzers/ ) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ( cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} ) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for I in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${I} ${STAGEDIR}${DOCSDIR} .endfor .include