freebsd-ports/security/jbrofuzz/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

# 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
2014-03-10 18:01:36 +01:00
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>