2013-09-21 00:55:24 +02:00
|
|
|
# Created by: Niels Heinen
|
2010-04-20 23:12:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jbrofuzz
|
|
|
|
PORTVERSION= 2.1
|
|
|
|
CATEGORIES= security www java
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
|
|
|
|
DISTNAME= ${PORTNAME}-jar-21
|
|
|
|
|
2011-11-14 18:16:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2010-04-20 23:12:59 +02:00
|
|
|
COMMENT= JBroFuzz is a web application fuzzer
|
|
|
|
|
2014-03-10 18:01:36 +01:00
|
|
|
USES= zip
|
2010-04-20 23:12:59 +02:00
|
|
|
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}
|
|
|
|
|
2014-05-01 04:33:06 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-05-01 03:42:38 +02:00
|
|
|
|
2010-04-20 23:12:59 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-install:
|
2014-05-01 03:42:38 +02:00
|
|
|
@${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
|
2010-04-20 23:12:59 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|