1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Not depending on basename but explicitly using APP_HOME.

Bumped PORTREVISION.
This commit is contained in:
Ernst de Haan 2002-11-13 10:44:20 +00:00
parent f97b6c102b
commit a2b61f5013
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70022
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= jmeter
PORTVERSION= 1.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www benchmarks java
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-jmeter/release/v${PORTVERSION}/ \
http://www.metaverse.nl/~ernst/ \
@ -35,6 +35,7 @@ post-patch:
@${ECHO_CMD} -n ">> Customizing `basename $f`..."
@${SED} \
-e "/%%JAVA%%/s//${JAVA:S/\//\\\//g}/g" \
-e "/%%APP_HOME%%/s//${APP_HOME:S/\//\\\//g}/g" \
$f > ${WRKDIR}/`basename $f`
@${ECHO_CMD} " [ DONE ]"
.endfor

View File

@ -4,4 +4,4 @@
#! /bin/sh
-java -Xincgc -jar `dirname $0`/ApacheJMeter.jar "$@"
+%%JAVA%% -jar `dirname $0`/ApacheJMeter.jar "$@"
+%%JAVA%% -jar %%APP_HOME%%/bin/ApacheJMeter.jar "$@"