Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 1999 20:16:56 GMT
From:      Jose Marques <noway@nohow.demon.co.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14879: New port: lang/starlogo
Message-ID:  <199911142016.UAA18996@nohow.demon.co.uk>

next in thread | raw e-mail | index | archive | help

>Number:         14879
>Category:       ports
>Synopsis:       New port: lang/starlogo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 14 12:30:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jose Marques
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
Not organised
>Environment:

	

>Description:

	A port for StarLogo - a specialised version of the Logo programming
        language.  Note: this version of StarLogo is written in Java and
        requires the JDK to run.

>How-To-Repeat:

	Unshar the following shar file.

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	starlogo-1.0/
#	starlogo-1.0/pkg
#	starlogo-1.0/pkg/COMMENT
#	starlogo-1.0/pkg/DESCR
#	starlogo-1.0/pkg/PLIST
#	starlogo-1.0/files
#	starlogo-1.0/files/md5
#	starlogo-1.0/Makefile
#	starlogo-1.0/patches
#	starlogo-1.0/patches/patch-aa
#
echo c - starlogo-1.0/
mkdir -p starlogo-1.0/ > /dev/null 2>&1
echo c - starlogo-1.0/pkg
mkdir -p starlogo-1.0/pkg > /dev/null 2>&1
echo x - starlogo-1.0/pkg/COMMENT
sed 's/^X//' >starlogo-1.0/pkg/COMMENT << 'END-of-starlogo-1.0/pkg/COMMENT'
XStarLogo
END-of-starlogo-1.0/pkg/COMMENT
echo x - starlogo-1.0/pkg/DESCR
sed 's/^X//' >starlogo-1.0/pkg/DESCR << 'END-of-starlogo-1.0/pkg/DESCR'
XStarLogo is a specialized version of the Logo programming language.  See:
X
X	http://lcs.www.media.mit.edu/groups/el/Projects/starlogo/
X
XFor more details.
END-of-starlogo-1.0/pkg/DESCR
echo x - starlogo-1.0/pkg/PLIST
sed 's/^X//' >starlogo-1.0/pkg/PLIST << 'END-of-starlogo-1.0/pkg/PLIST'
Xbin/starlogo
Xshare/java/starlogo/starlogo.jar
Xshare/java/starlogo/README
Xshare/java/starlogo/reference.txt
Xshare/java/starlogo/projects/ant-trails.slogo
Xshare/java/starlogo/projects/circle.slogo
Xshare/java/starlogo/projects/dla.slogo
Xshare/java/starlogo/projects/firefly.slogo
Xshare/java/starlogo/projects/gaussian.slogo
Xshare/java/starlogo/projects/graphics.slogo
Xshare/java/starlogo/projects/horn.slogo
Xshare/java/starlogo/projects/rope.slogo
Xshare/java/starlogo/projects/termites.slogo
Xshare/java/starlogo/projects/tree.slogo
Xshare/java/starlogo/sounds/applause.au
Xshare/java/starlogo/sounds/bark.au
Xshare/java/starlogo/sounds/bong.au
Xshare/java/starlogo/sounds/bubbles.au
Xshare/java/starlogo/sounds/busy.au
Xshare/java/starlogo/sounds/chirp.au
Xshare/java/starlogo/sounds/clink.au
Xshare/java/starlogo/sounds/computer.au
Xshare/java/starlogo/sounds/cowbell.au
Xshare/java/starlogo/sounds/crash.au
Xshare/java/starlogo/sounds/cuckoo.au
Xshare/java/starlogo/sounds/dialtone.au
Xshare/java/starlogo/sounds/doorbell.au
Xshare/java/starlogo/sounds/drip.au
Xshare/java/starlogo/sounds/fastbusy.au
Xshare/java/starlogo/sounds/flush.au
Xshare/java/starlogo/sounds/gong.au
Xshare/java/starlogo/sounds/ring.au
Xshare/java/starlogo/sounds/rooster.au
Xshare/java/starlogo/sounds/spacemusic.au
Xshare/java/starlogo/sounds/splat.au
Xshare/java/starlogo/sounds/train.au
Xshare/java/starlogo/sounds/whistle.au
X@dirrm share/java/starlogo/projects
X@dirrm share/java/starlogo/sounds
X@dirrm share/java/starlogo
X@unexec rmdir %D/share/java || true
END-of-starlogo-1.0/pkg/PLIST
echo c - starlogo-1.0/files
mkdir -p starlogo-1.0/files > /dev/null 2>&1
echo x - starlogo-1.0/files/md5
sed 's/^X//' >starlogo-1.0/files/md5 << 'END-of-starlogo-1.0/files/md5'
XMD5 (java-starlogo-beta-2.tar.gz) = 6a318fd37ed4c984ae9abc5220ee5284
END-of-starlogo-1.0/files/md5
echo x - starlogo-1.0/Makefile
sed 's/^X//' >starlogo-1.0/Makefile << 'END-of-starlogo-1.0/Makefile'
X# New ports collection makefile for:    StarLogo
X# Version required:	1.0
X# Date created:		14th November 1999
X# Whom:			Jose Marques
X#
X# $FreeBSD:$
X#
X
XDISTNAME=	java-starlogo-beta-2
XPKGNAME=	starlogo-1.0
XCATEGORIES=	lang java
XMASTER_SITES=	http://el.www.media.mit.edu/starlogo/download/
X
XMAINTAINER=	noway@nohow.demon.co.uk
X
XRUN_DEPENDS=	${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
X		${PREFIX}/jdk${JDK_VERSION}/lib/i386/green_threads/libtya.so:${PORTSDIR}/java/tya
X
XWRKSRC=		${WRKDIR}/starlogo-1.0b2
XJDK_VERSION=    1.1.8
XNO_BUILD=	yes
X
Xpost-patch:
X	@${CAT} ${WRKSRC}/starlogo-unix | ${SED} -e s,@@PREFIX@@,${PREFIX},g | ${SED} -e s,@@JDK_VERSION@@,${JDK_VERSION},g > ${WRKSRC}/starlogo
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/java/starlogo
X	@${MKDIR} ${PREFIX}/share/java/starlogo/projects
X	@${MKDIR} ${PREFIX}/share/java/starlogo/sounds
X	@${INSTALL_SCRIPT} ${WRKSRC}/starlogo ${PREFIX}/bin
X	@${INSTALL_DATA} ${WRKSRC}/starlogo.jar  ${PREFIX}/share/java/starlogo
X	@${INSTALL_DATA} ${WRKSRC}/README        ${PREFIX}/share/java/starlogo
X	@${INSTALL_DATA} ${WRKSRC}/reference.txt ${PREFIX}/share/java/starlogo
X	@${INSTALL_DATA} ${WRKSRC}/projects/*    ${PREFIX}/share/java/starlogo/projects
X	@${INSTALL_DATA} ${WRKSRC}/sounds/*      ${PREFIX}/share/java/starlogo/sounds
X
X.include <bsd.port.mk>
END-of-starlogo-1.0/Makefile
echo c - starlogo-1.0/patches
mkdir -p starlogo-1.0/patches > /dev/null 2>&1
echo x - starlogo-1.0/patches/patch-aa
sed 's/^X//' >starlogo-1.0/patches/patch-aa << 'END-of-starlogo-1.0/patches/patch-aa'
X--- starlogo-unix.orig	Wed Sep 22 08:15:23 1999
X+++ starlogo-unix	Sun Nov 14 19:52:57 1999
X@@ -1,3 +1,3 @@
X-echo Warning: You might need to make the native stack size bigger
X-echo on the java command line in order to run StarLogo.
X-java -classpath .:./starlogo.jar starlogo.Toplevel compiler "init 100"
X+#!/bin/sh
X+cd @@PREFIX@@/share/java/starlogo/projects
X+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"
END-of-starlogo-1.0/patches/patch-aa
exit




>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911142016.UAA18996>