aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-29 07:30:48 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-29 07:30:48 +0000
commit523269e5e1f297e51f98e962d43f5c56003b5a7b (patch)
treea98f640fc7de95864f8084c42e9af83f8f8ab5af
parentdc183c6400a1bfcba6f82bbde21eb92607ac96df (diff)
downloadports-523269e5e1f297e51f98e962d43f5c56003b5a7b.tar.gz
ports-523269e5e1f297e51f98e962d43f5c56003b5a7b.zip
Notes
-rw-r--r--java/Makefile1
-rw-r--r--lang/Makefile1
-rw-r--r--lang/starlogo/Makefile37
-rw-r--r--lang/starlogo/distinfo1
-rw-r--r--lang/starlogo/files/patch-aa9
-rw-r--r--lang/starlogo/pkg-comment1
-rw-r--r--lang/starlogo/pkg-descr5
-rw-r--r--lang/starlogo/pkg-plist41
8 files changed, 95 insertions, 1 deletions
diff --git a/java/Makefile b/java/Makefile
index 489f95642f38..3e7eb75b19b5 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -18,7 +18,6 @@
SUBDIR += kaffe
SUBDIR += netrexx
SUBDIR += shujit
- SUBDIR += starlogo
SUBDIR += tya
.include <bsd.port.subdir.mk>
diff --git a/lang/Makefile b/lang/Makefile
index c00d2679dd69..993492b5af21 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -89,6 +89,7 @@
SUBDIR += squeak1
SUBDIR += squeak2
SUBDIR += sr
+ SUBDIR += starlogo
SUBDIR += swi-pl
SUBDIR += tcl76
SUBDIR += tcl80
diff --git a/lang/starlogo/Makefile b/lang/starlogo/Makefile
new file mode 100644
index 000000000000..41aa78f8f3e5
--- /dev/null
+++ b/lang/starlogo/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: StarLogo
+# Version required: 1.0
+# Date created: 14th November 1999
+# Whom: Jose Marques
+#
+# $FreeBSD$
+#
+
+DISTNAME= java-starlogo-beta-2
+PKGNAME= starlogo-1.0
+CATEGORIES= lang java
+MASTER_SITES= http://el.www.media.mit.edu/starlogo/download/
+
+MAINTAINER= noway@nohow.demon.co.uk
+
+RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
+ ${PREFIX}/jdk${JDK_VERSION}/lib/i386/green_threads/libtya.so:${PORTSDIR}/java/tya
+
+WRKSRC= ${WRKDIR}/starlogo-1.0b2
+JDK_VERSION= 1.1.8
+NO_BUILD= yes
+
+post-patch:
+ @${CAT} ${WRKSRC}/starlogo-unix | ${SED} -e s,@@PREFIX@@,${PREFIX},g | ${SED} -e s,@@JDK_VERSION@@,${JDK_VERSION},g > ${WRKSRC}/starlogo
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/java/starlogo
+ @${MKDIR} ${PREFIX}/share/java/starlogo/projects
+ @${MKDIR} ${PREFIX}/share/java/starlogo/sounds
+ @${INSTALL_SCRIPT} ${WRKSRC}/starlogo ${PREFIX}/bin
+ @${INSTALL_DATA} ${WRKSRC}/starlogo.jar ${PREFIX}/share/java/starlogo
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/java/starlogo
+ @${INSTALL_DATA} ${WRKSRC}/reference.txt ${PREFIX}/share/java/starlogo
+ @${INSTALL_DATA} ${WRKSRC}/projects/* ${PREFIX}/share/java/starlogo/projects
+ @${INSTALL_DATA} ${WRKSRC}/sounds/* ${PREFIX}/share/java/starlogo/sounds
+
+.include <bsd.port.mk>
diff --git a/lang/starlogo/distinfo b/lang/starlogo/distinfo
new file mode 100644
index 000000000000..78b8e24dac1f
--- /dev/null
+++ b/lang/starlogo/distinfo
@@ -0,0 +1 @@
+MD5 (java-starlogo-beta-2.tar.gz) = 6a318fd37ed4c984ae9abc5220ee5284
diff --git a/lang/starlogo/files/patch-aa b/lang/starlogo/files/patch-aa
new file mode 100644
index 000000000000..9e1fef7d5fb4
--- /dev/null
+++ b/lang/starlogo/files/patch-aa
@@ -0,0 +1,9 @@
+--- starlogo-unix.orig Wed Sep 22 08:15:23 1999
++++ starlogo-unix Sun Nov 14 19:52:57 1999
+@@ -1,3 +1,3 @@
+-echo Warning: You might need to make the native stack size bigger
+-echo on the java command line in order to run StarLogo.
+-java -classpath .:./starlogo.jar starlogo.Toplevel compiler "init 100"
++#!/bin/sh
++cd @@PREFIX@@/share/java/starlogo/projects
++java -Djava.compiler=tya -classpath @@PREFIX@@/share/java/starlogo/starlogo.jar:@@PREFIX@@/share/java/starlogo:@@PREFIX@@/jdk@@JDK_VERSION@@/lib/classes.zip starlogo.Toplevel compiler "init 100"
diff --git a/lang/starlogo/pkg-comment b/lang/starlogo/pkg-comment
new file mode 100644
index 000000000000..36ef0cea537b
--- /dev/null
+++ b/lang/starlogo/pkg-comment
@@ -0,0 +1 @@
+Logo programming language written in Java
diff --git a/lang/starlogo/pkg-descr b/lang/starlogo/pkg-descr
new file mode 100644
index 000000000000..3b08b01c1a21
--- /dev/null
+++ b/lang/starlogo/pkg-descr
@@ -0,0 +1,5 @@
+StarLogo is a specialized version of the Logo programming language. See:
+
+WWW: http://el.www.media.mit.edu/starlogo/
+
+For more details.
diff --git a/lang/starlogo/pkg-plist b/lang/starlogo/pkg-plist
new file mode 100644
index 000000000000..526e72053967
--- /dev/null
+++ b/lang/starlogo/pkg-plist
@@ -0,0 +1,41 @@
+bin/starlogo
+share/java/starlogo/starlogo.jar
+share/java/starlogo/README
+share/java/starlogo/reference.txt
+share/java/starlogo/projects/ant-trails.slogo
+share/java/starlogo/projects/circle.slogo
+share/java/starlogo/projects/dla.slogo
+share/java/starlogo/projects/firefly.slogo
+share/java/starlogo/projects/gaussian.slogo
+share/java/starlogo/projects/graphics.slogo
+share/java/starlogo/projects/horn.slogo
+share/java/starlogo/projects/rope.slogo
+share/java/starlogo/projects/termites.slogo
+share/java/starlogo/projects/tree.slogo
+share/java/starlogo/sounds/applause.au
+share/java/starlogo/sounds/bark.au
+share/java/starlogo/sounds/bong.au
+share/java/starlogo/sounds/bubbles.au
+share/java/starlogo/sounds/busy.au
+share/java/starlogo/sounds/chirp.au
+share/java/starlogo/sounds/clink.au
+share/java/starlogo/sounds/computer.au
+share/java/starlogo/sounds/cowbell.au
+share/java/starlogo/sounds/crash.au
+share/java/starlogo/sounds/cuckoo.au
+share/java/starlogo/sounds/dialtone.au
+share/java/starlogo/sounds/doorbell.au
+share/java/starlogo/sounds/drip.au
+share/java/starlogo/sounds/fastbusy.au
+share/java/starlogo/sounds/flush.au
+share/java/starlogo/sounds/gong.au
+share/java/starlogo/sounds/ring.au
+share/java/starlogo/sounds/rooster.au
+share/java/starlogo/sounds/spacemusic.au
+share/java/starlogo/sounds/splat.au
+share/java/starlogo/sounds/train.au
+share/java/starlogo/sounds/whistle.au
+@dirrm share/java/starlogo/projects
+@dirrm share/java/starlogo/sounds
+@dirrm share/java/starlogo
+@unexec rmdir %D/share/java || true