diff options
author | steve <steve@FreeBSD.org> | 1999-12-29 15:30:48 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-29 15:30:48 +0800 |
commit | cc588c760f307d7a13801870cb56fb0b8212086f (patch) | |
tree | 01f99327a2b1e954fa39fd4dc1e498dc229ede4c /lang | |
parent | c1b7453a6d55d2aa26a89aafd1c7c58ead2128d5 (diff) | |
download | freebsd-ports-gnome-cc588c760f307d7a13801870cb56fb0b8212086f.tar.gz freebsd-ports-gnome-cc588c760f307d7a13801870cb56fb0b8212086f.tar.zst freebsd-ports-gnome-cc588c760f307d7a13801870cb56fb0b8212086f.zip |
Moving the starlogo port from java to lang.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/starlogo/Makefile | 37 | ||||
-rw-r--r-- | lang/starlogo/distinfo | 1 | ||||
-rw-r--r-- | lang/starlogo/files/patch-aa | 9 | ||||
-rw-r--r-- | lang/starlogo/pkg-comment | 1 | ||||
-rw-r--r-- | lang/starlogo/pkg-descr | 5 | ||||
-rw-r--r-- | lang/starlogo/pkg-plist | 41 |
7 files changed, 95 insertions, 0 deletions
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 |