5a52a08234
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and java/openjdk6 and java/openjdk6-jre were removed from the ports tree (r512663). Now this patch completely removes remaining stuff from the ports tree. PR: 241953 (exp-run) Reviewed by: glewis Approved by: portmgr (antoine) Differential Revision: https://reviews.freebsd.org/D22342
36 lines
898 B
Makefile
36 lines
898 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= paros
|
|
PORTVERSION= 3.2.13
|
|
PORTREVISION= 2
|
|
CATEGORIES= www security java
|
|
MASTER_SITES= SF/${PORTNAME}/Paros/Version%20${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= HTTP/HTTPS proxy for assessing web application vulnerability
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_JAVA= yes
|
|
JAVA_RUN= yes
|
|
|
|
NO_BUILD= yes
|
|
USES= dos2unix zip
|
|
DOS2UNIX_FILES= 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} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
|
|
(cd ${WRKSRC} && ${COPYTREE_BIN} \* ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} \
|
|
"! -name startserver.sh")
|
|
${INSTALL_SCRIPT} ${WRKSRC}/startserver.sh ${STAGEDIR}${PREFIX}/bin/paros
|
|
|
|
.include <bsd.port.mk>
|