1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/paros/Makefile
Pav Lucistnik b226c1e1ef "A Java based HTTP/HTTPS proxy for assessing web application
vulnerability. It supports editing/viewing HTTP messages on-the-fly.
Other featuers include spiders, client certificate, proxy-chaining,
intelligent scanning for XSS and SQL injections etc."

WWW: http://www.parosproxy.org/

PR:		ports/114047
Submitted by:	Wesley Shields <wxs@atarininja.org>
2007-07-10 21:40:28 +00:00

42 lines
1006 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
CATEGORIES= www security java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
MAINTAINER= wxs@atarininja.org
COMMENT= An HTTP/HTTPS proxy for assessing web application vulnerability
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_JAVA= yes
JAVA_RUN= yes
JAVA_VERSION= 1.4+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>