summaryrefslogtreecommitdiffstats
path: root/lang/linux-j/files
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-05-14 16:42:55 +0000
committerhq <hq@FreeBSD.org>2005-05-14 16:42:55 +0000
commit656f392103fc00f36daabc563e3234d4cae5fb34 (patch)
treedd8567955dbc8b1cb2e57d9960f33ddd64b37f31 /lang/linux-j/files
parent7ee18b3cb515c008fadce83809e51f74ccecbe84 (diff)
downloadFreeBSD-ports-656f392103fc00f36daabc563e3234d4cae5fb34.zip
FreeBSD-ports-656f392103fc00f36daabc563e3234d4cae5fb34.tar.gz
- Update to 504b (and unbreak)
- Update to bsd.java.mk 2.0 - Add 'java' category - Use SUB_FILES to configure the launcher shell scripts - Tweak pkg-descr - Calm portlint: replace spaces by tabs - Add $FreeBSD$ tags PR: 80828 Submitted by: Linh Pham <question+fbsdports@closedsrc.org>
Diffstat (limited to 'lang/linux-j/files')
-rw-r--r--lang/linux-j/files/jconsole8
-rw-r--r--lang/linux-j/files/jconsole.sh.in10
-rw-r--r--lang/linux-j/files/jw8
-rw-r--r--lang/linux-j/files/jw.sh.in9
-rw-r--r--lang/linux-j/files/patch-profile.ijs (renamed from lang/linux-j/files/patch-j502a::profile.ijs)4
5 files changed, 21 insertions, 18 deletions
diff --git a/lang/linux-j/files/jconsole b/lang/linux-j/files/jconsole
deleted file mode 100644
index 9a3ecc7..0000000
--- a/lang/linux-j/files/jconsole
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-JPATHj502a=PREFIX/lib/j
-export JPATHj502a
-if [ ! -d $HOME/J ]
-then
- cp -r $JPATHj502a/user $HOME/J
-fi
-exec PREFIX/lib/j/jconsole "$@"
diff --git a/lang/linux-j/files/jconsole.sh.in b/lang/linux-j/files/jconsole.sh.in
new file mode 100644
index 0000000..42c9624
--- /dev/null
+++ b/lang/linux-j/files/jconsole.sh.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+# $FreeBSD$
+
+JPATHj%%PORTVERSION%%=%%PREFIX%%/lib/j
+export JPATHj%%PORTVERSION%%
+if [ ! -d ${HOME}/J ]
+then
+ cp -r ${JPATHj%%PORTVERSION%%}/user ${HOME}/J
+fi
+exec %%PREFIX%%/lib/j/jconsole "$@"
diff --git a/lang/linux-j/files/jw b/lang/linux-j/files/jw
deleted file mode 100644
index 1094379..0000000
--- a/lang/linux-j/files/jw
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-JPATHj502a=PREFIX/lib/j
-export JPATHj502a
-if [ ! -d $HOME/J ]
-then
- cp -r $JPATHj502a/user $HOME/J
-fi
-exec PREFIX/bin/javavm -jar PREFIX/lib/j/j.jar "$@"
diff --git a/lang/linux-j/files/jw.sh.in b/lang/linux-j/files/jw.sh.in
new file mode 100644
index 0000000..b799b75
--- /dev/null
+++ b/lang/linux-j/files/jw.sh.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+# $FreeBSD$
+JPATHj%%PORTVERSION%%=%%PREFIX%%/lib/j
+export JPATHj%%PORTVERSION%%
+if [ ! -d ${HOME}/J ]
+then
+ cp -r ${JPATHj%%PORTVERSION%%}/user ${HOME}/J
+fi
+JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar %%PREFIX%%/lib/j/j.jar "$@"
diff --git a/lang/linux-j/files/patch-j502a::profile.ijs b/lang/linux-j/files/patch-profile.ijs
index 468999d..08fac5e 100644
--- a/lang/linux-j/files/patch-j502a::profile.ijs
+++ b/lang/linux-j/files/patch-profile.ijs
@@ -1,5 +1,5 @@
---- j502a/profile.ijs.orig Sun Aug 10 17:53:22 2003
-+++ j502a/profile.ijs Sun Aug 10 17:58:55 2003
+--- j504/profile.ijs.orig Sun Aug 10 17:53:22 2003
++++ j504/profile.ijs Sun Aug 10 17:58:55 2003
@@ -60,8 +60,8 @@
prf=. PROFILE {.~ PROFILE i: sep
add=. prf,sep,'addons'
OpenPOWER on IntegriCloud