mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Using literal script in files/jmeter instead of patch.
Bumped PORTREVISION.
This commit is contained in:
parent
b9e7c18fcb
commit
288e50426a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70746
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= jmeter
|
||||
PORTVERSION= 1.8
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= www benchmarks java
|
||||
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-jmeter/release/v${PORTVERSION}/ \
|
||||
http://www.metaverse.nl/~ernst/ \
|
||||
@ -24,7 +24,9 @@ APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}
|
||||
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///}
|
||||
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work
|
||||
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}
|
||||
REPLACE_FILES= ${WRKSRC}/bin/jmeter
|
||||
REPLACE_FILES= ${FILESDIR}/jmeter
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${ECHO_CMD} -n ">> Removing unneeded files..."
|
||||
@ -58,7 +60,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating symlink ${PREFIX}/bin/jmeter..."
|
||||
@${LN} -s ${APP_HOME}/bin/jmeter ${PREFIX}/bin/jmeter
|
||||
@${LN} -sf ${APP_HOME}/bin/jmeter ${PREFIX}/bin/jmeter
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
5
www/jakarta-jmeter/files/jmeter
Normal file
5
www/jakarta-jmeter/files/jmeter
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
%%JAVA%% -jar %%APP_HOME%%/bin/ApacheJMeter.jar "$@"
|
@ -1,7 +0,0 @@
|
||||
--- bin/jmeter.old Wed Nov 13 11:03:46 2002
|
||||
+++ bin/jmeter Wed Nov 13 11:04:14 2002
|
||||
@@ -1,3 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
-java -Xincgc -jar `dirname $0`/ApacheJMeter.jar "$@"
|
||||
+%%JAVA%% -jar %%APP_HOME%%/bin/ApacheJMeter.jar "$@"
|
Loading…
Reference in New Issue
Block a user