2016-03-25 22:03:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2016/03/25 21:03:09 joerg Exp $
|
2006-01-11 19:59:36 +01:00
|
|
|
#
|
|
|
|
|
2006-10-08 03:47:18 +02:00
|
|
|
DISTNAME= paros-3.2.13-unix
|
2006-01-11 19:59:36 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-unix//}
|
2009-09-29 19:06:15 +02:00
|
|
|
PKGREVISION= 1
|
2007-02-28 14:08:08 +01:00
|
|
|
CATEGORIES= www security java
|
2006-01-11 19:59:36 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=paros/}
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= salo@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.parosproxy.org/
|
|
|
|
COMMENT= HTTP/HTTPS proxy for assessing web application vulnerabilities
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_JAVA2= yes
|
|
|
|
USE_JAVA= run
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
2006-01-11 19:59:36 +01:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= bin lib
|
|
|
|
|
2006-01-11 19:59:36 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGBASE}
|
|
|
|
|
2013-12-08 07:49:43 +01:00
|
|
|
# contains Linux/Windows binaries
|
2014-03-02 06:47:08 +01:00
|
|
|
CHECK_SHLIBS_SKIP= lib/paros/libmozembed-linux-gtk1.2.so
|
|
|
|
CHECK_SHLIBS_SKIP+= lib/paros/libmozembed-linux-gtk2.so
|
2013-12-08 07:49:43 +01:00
|
|
|
|
2006-01-11 19:59:36 +01:00
|
|
|
SUBST_CLASSES+= java
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.java= Fixing hardcoded path to Java.
|
2006-01-11 19:59:36 +01:00
|
|
|
SUBST_STAGE.java= pre-configure
|
|
|
|
SUBST_FILES.java= ${WRKSRC}/startserver.sh
|
2006-10-08 03:47:18 +02:00
|
|
|
SUBST_SED.java= -e 's,java ,${PKG_JAVA_HOME}/bin/&,'
|
2006-01-11 19:59:36 +01:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@(${ECHO} '#! /bin/sh' && \
|
|
|
|
${ECHO} cd ${PREFIX}/lib/${PKGBASE} && \
|
|
|
|
${CAT} ${WRKSRC}/startserver.sh && \
|
|
|
|
${ECHO}) > ${WRKDIR}/paros.sh
|
2006-01-12 19:17:19 +01:00
|
|
|
|
2006-01-11 19:59:36 +01:00
|
|
|
do-install:
|
2008-06-12 04:14:13 +02:00
|
|
|
@cd ${WRKDIR} && pax -rw -pm ${PKGBASE} ${DESTDIR}${PREFIX}/lib/
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/paros.sh ${DESTDIR}${PREFIX}/bin/paros
|
2006-01-11 19:59:36 +01:00
|
|
|
|
2016-03-25 22:03:09 +01:00
|
|
|
CHECK_SHLIBS_SKIP+= lib/paros/libjdic.so lib/paros/libtray.so
|
|
|
|
|
2006-01-11 19:59:36 +01:00
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|