freebsd-ports/security/webscarab/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
2011-07-21 05:03:02 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: webscarab
# Date created: 2010-03-08
# Whom: Niels Heinen
#
# $FreeBSD$
#
PORTNAME= webscarab
PORTVERSION= 20090427
CATEGORIES= security www java
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~niels/distfiles/
MASTER_SITE_SUBDIR= niels
MAINTAINER= niels@FreeBSD.org
COMMENT= Framework for analysing HTTP and HTTPS web application traffic
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.5+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}-1304
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PORTDOCS= README LICENSE ChangeLog
.include <bsd.port.pre.mk>
post-extract:
${RM} ${WRKSRC}/lib/W32WinInet.dll
pre-install:
@${SED} -e 's:%%PATH%%:${DATADIR}/:' \
-e 's:%%JAVA_CMD%%:${JAVA}:' \
-e 's:%%WEBSCARAB%%:${DATADIR}/${PORTNAME}.jar:' \
< ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}
do-install:
${MKDIR} ${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/lib/* ${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}_lite
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>