summaryrefslogtreecommitdiff
path: root/graphics/jpatch/files
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-02-03 01:11:00 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-02-03 01:11:00 +0000
commit38d38bf8c0a37cd4e78cabdac371bbbcfdc5edbc (patch)
tree80689b93b903216016cd596f801b8621b63ed755 /graphics/jpatch/files
parentUpdate to 2.8.3 (diff)
- Update to bsd.java.mk 2.0
- Enforce a specific version (1.4+) in the launcher shell script - Use SUB_FILES to patch the launche shell script
Notes
Notes: svn path=/head/; revision=127939
Diffstat (limited to 'graphics/jpatch/files')
-rw-r--r--graphics/jpatch/files/jpatch3
-rw-r--r--graphics/jpatch/files/jpatch.sh.in5
2 files changed, 5 insertions, 3 deletions
diff --git a/graphics/jpatch/files/jpatch b/graphics/jpatch/files/jpatch
deleted file mode 100644
index 03697eee8700..000000000000
--- a/graphics/jpatch/files/jpatch
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-java -jar %%JAVAJARDIR%%/jpatch.jar
diff --git a/graphics/jpatch/files/jpatch.sh.in b/graphics/jpatch/files/jpatch.sh.in
new file mode 100644
index 000000000000..f06241d0a36a
--- /dev/null
+++ b/graphics/jpatch/files/jpatch.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+JAVA_VERSION="1.4+" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/jpatch.jar" "$@"