freebsd-ports/security/jbrofuzz/Makefile
Adam Weinberger de9b552061 I experienced catastrophic brain failure and put
PORT_OPTIONS= instead of OPTIONS_DEFINE=. Oops.
2014-05-01 02:33:06 +00:00

38 lines
1.1 KiB
Makefile

# 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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>