aboutsummaryrefslogtreecommitdiffstats
path: root/security/jbrofuzz/Makefile
blob: 32a3adea438679276dd91d6bce6b1963ce53ff97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    jbrofuzz
# Date created:             2010-03-08
# Whom:                 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

USE_ZIP=    YES
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}

.include <bsd.port.pre.mk>

do-install:
    ${MKDIR} ${JAVASHAREDIR}/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/JBroFuzz.jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
    ( cd ${WRKSRC}/fuzzers/ && ${COPYTREE_SHARE} . ${DATADIR}/fuzzers/ )
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    ( cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR} )
.endif
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.   for I in ${PORTDOCS}
        ${INSTALL_DATA} ${WRKSRC}/${I} ${DOCSDIR}
.   endfor
.endif

.include <bsd.port.post.mk>