freebsd-ports/graphics/processing/files/patch-processing
Edwin Groothuis 65743fa90f Add graphics/processing, a very cool visualisation program
Processing is an open source programming language and environment
	for people who want to program images, animation, and interactions.
	It is used by students, artists, designers, researchers, and hobbyists
	for learning, prototyping, and production. It is created to teach
	fundamentals of computer programming within a visual context and
	to serve as a software sketchbook and professional production tool.
	Processing is an alternative to proprietary software tools in the
	same domain.

	WWW: http://processing.org/
2008-06-20 11:30:47 +00:00

28 lines
848 B
Text

--- processing.orig 2008-06-20 16:07:46.000000000 +1000
+++ processing 2008-06-20 16:10:07.000000000 +1000
@@ -1,6 +1,6 @@
#!/bin/sh
-APPDIR=$(dirname "$0")
+APPDIR=%%PREFIX%%/libexec/processing
# as of 0109, now using all relative paths and doing a cd to the
# processing folder on run, because there are too many dependencies
@@ -17,14 +17,14 @@
#PATH=`pwd`/`dirname $0`:`pwd`/java/bin:${PATH}
#PATH=$APPDIR:$APPDIR/java/bin:${PATH}
#echo $PATH
-PATH=.:java/bin:${PATH}
-export PATH
+#PATH=.:java/bin:${PATH}
+#export PATH
# test to see if jikes is operable. i'm a crappy bash scripter
# so if someone knows a more elegant way to do this, let me know.
#
#echo $APPDIR/jikes
-"$APPDIR/jikes" -version 1> /dev/null 2> /dev/null
+jikes -version 1> /dev/null 2> /dev/null
# if stmt modified as per bug #373
if [ $? -eq 0 ]
then