summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2001-12-15 01:07:52 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2001-12-15 01:07:52 +0000
commitb1987d7b7e0107de5850738a56d375ebae03a5a0 (patch)
tree05774204d1235b5326d73591a0c83c66d138ce04 /dev-java/makeme/files
parentUnmasked TightVNC (diff)
downloadgentoo-2-b1987d7b7e0107de5850738a56d375ebae03a5a0.tar.gz
gentoo-2-b1987d7b7e0107de5850738a56d375ebae03a5a0.tar.bz2
gentoo-2-b1987d7b7e0107de5850738a56d375ebae03a5a0.zip
Major Java overhaul in progress
Diffstat (limited to 'dev-java/makeme/files')
-rw-r--r--dev-java/makeme/files/digest-makeme-0.02-r11
-rw-r--r--dev-java/makeme/files/makeme-0.02-r1-gentoo.diff22
-rw-r--r--dev-java/makeme/files/makeme.sh15
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/makeme/files/digest-makeme-0.02-r1 b/dev-java/makeme/files/digest-makeme-0.02-r1
new file mode 100644
index 000000000000..e89d9ffd3884
--- /dev/null
+++ b/dev-java/makeme/files/digest-makeme-0.02-r1
@@ -0,0 +1 @@
+MD5 7a89ffc5941c63f64315dcaada2c011e makeme-0.02.tar.gz 20480
diff --git a/dev-java/makeme/files/makeme-0.02-r1-gentoo.diff b/dev-java/makeme/files/makeme-0.02-r1-gentoo.diff
new file mode 100644
index 000000000000..8c2e104c3c5f
--- /dev/null
+++ b/dev-java/makeme/files/makeme-0.02-r1-gentoo.diff
@@ -0,0 +1,22 @@
+--- Makefile.orig Wed Sep 26 19:53:12 2001
++++ Makefile Wed Sep 26 19:53:16 2001
+@@ -7,14 +7,14 @@
+
+ build:
+ #first run antlr.Tool
+- CLASSPATH=/usr/share/java/antlrall.jar kaffe antlr.Tool -o gnu/makeme/parser gnu/makeme/parser/makeme.g
+- CLASSPATH=/usr/share/kaffe/Klasses.jar:/usr/share/java/antlrall.jar:. jikes -d . $(JAVA_SOURCES)
++ CLASSPATH=$(CLASSPATH):/usr/share/antlr/antlrall.jar $(JAVA_HOME)/bin/java antlr.Tool -o gnu/makeme/parser gnu/makeme/parser/makeme.g
++ CLASSPATH=$(CLASSPATH):/usr/share/antlr/antlrall.jar:. jikes -d . $(JAVA_SOURCES)
+
+ install:
+ # cp -Rv $(JAVA_CLASSES) $(DESTDIR)/usr/share/java/repository
+- fastjar cvf makeme.jar $(JAVA_CLASSES)
+- fastjar xvf makeme.jar $(DESTDIR)/usr/share/java/repository
+- install teaseme $(DESTDIR)/usr/bin/
++ jar cvf makeme.jar $(JAVA_CLASSES)
++ jar xvf makeme.jar $(DESTDIR)/usr/share/java/repository
++ install makeme $(DESTDIR)/usr/bin/
+ clean:
+ rm -f $(JAVA_CLASSES)
+ rm -f makeme.jar
diff --git a/dev-java/makeme/files/makeme.sh b/dev-java/makeme/files/makeme.sh
new file mode 100644
index 000000000000..cf9f73db8733
--- /dev/null
+++ b/dev-java/makeme/files/makeme.sh
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+if [ -z "$JAVA_HOME" ] ; then
+ echo "!!! JAVA_HOME not set"
+ exit -1
+fi
+
+newcp=""
+for i in antlr makeme ; do
+ newcp=`cat < /usr/share/$i/eclasspath`:${newcp}
+done
+
+CLASSPATH=${newcp}:${CLASSPATH}
+
+${JAVA_HOME}/bin/java -cp ${CLASSPATH} gnu.makeme.MakeMe $*