mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
06e6677793
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
42 lines
1004 B
Makefile
42 lines
1004 B
Makefile
# New ports collection makefile for: paros
|
|
# Date created: 25 June 2007
|
|
# Whom: Wesley Shields <wxs@atarininja.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= paros
|
|
PORTVERSION= 3.2.13
|
|
PORTREVISION= 1
|
|
CATEGORIES= www security java
|
|
MASTER_SITES= SF/${PORTNAME}/Paros/Version%20${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An HTTP/HTTPS proxy for assessing web application vulnerability
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_JAVA= yes
|
|
JAVA_RUN= yes
|
|
JAVA_VERSION= 1.5
|
|
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
USE_DOS2UNIX= release.txt
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|java -jar \(paros.jar\)|cd ${DATADIR} \&\& java -jar ${DATADIR}/\1|g' \
|
|
${WRKSRC}/startserver.sh
|
|
${RM} ${WRKSRC}/startserver.sh.bak
|
|
|
|
do-install:
|
|
@${MKDIR} ${JAVASHAREDIR}/${PORTNAME}
|
|
(cd ${WRKSRC} && ${COPYTREE_BIN} \* ${JAVASHAREDIR}/${PORTNAME} \
|
|
"! -name startserver.sh")
|
|
${INSTALL_SCRIPT} ${WRKSRC}/startserver.sh ${PREFIX}/bin/paros
|
|
|
|
.include <bsd.port.mk>
|