1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/security/burpsuite/Makefile
2014-05-14 09:18:58 +00:00

47 lines
1.0 KiB
Makefile

# Created by: Niels Heinen
# $FreeBSD$
PORTNAME= burpsuite
PORTVERSION= 1.6
CATEGORIES= security java
MASTER_SITES= http://www.portswigger.net/burp/ \
LOCAL/sbz
DISTNAME= ${PORTNAME}_free_v${PORTVERSION}
EXTRACT_SUFX= .jar
MAINTAINER= sbz@FreeBSD.org
COMMENT= Burp Suite is an integrated platform for testing web applications
USE_JAVA= yes
NO_BUILD= yes
JAVA_VERSION= 1.7
JAVA_VENDOR= openjdk
WRKSRC= ${WRKDIR}/${DISTNAME}
PLIST_FILES= bin/${PORTNAME} \
%%JAVAJARDIR%%/${DISTNAME}.jar
.include <bsd.port.pre.mk>
# Get BSFEL agreement
.if !defined(PACKAGE_BUILDING)
pre-extract:
@${SH} ${FILESDIR}/license.sh
.endif
post-extract:
@${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
pre-install:
${SED} -e 's:%%PATH%%:${JAVAJARDIR}/:' \
-e 's:%%JAVA_CMD%%:${JAVA}:' \
-e 's:%%BURP%%:${JAVAJARDIR}/${DISTNAME}.jar:' \
< ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}
do-install:
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>