mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
that makes it easy to create your own interactive stories, animations, games, music, and art - and share your creations on the web. WWW: https://scratch.mit.edu/ PR: 216811 Requested by: Takeshi Mutoh <takeshi.mutoh@gmail.com> Approved by: hrs (mentor)
18 lines
744 B
Text
18 lines
744 B
Text
--- src/scratch.orig 2011-07-01 22:21:32 UTC
|
|
+++ src/scratch
|
|
@@ -4,11 +4,11 @@
|
|
# Original Author: Bert Freudenberg
|
|
# Adapted by: Miriam Ruiz
|
|
|
|
-VM_VERSION=`find /usr/lib/squeak/ -name "squeakvm" -type f|cut -f5 -d"/"`
|
|
-SQ_DIR=/usr/lib/squeak/$VM_VERSION
|
|
+VM_VERSION=`find %%PREFIX%%/lib/squeak/ -name "squeakvm" -type f|awk -F/ '{print $(NF-1)}'`
|
|
+SQ_DIR=%%PREFIX%%/lib/squeak/$VM_VERSION
|
|
VM="$SQ_DIR/squeakvm"
|
|
-VMOPTIONS="-encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/Plugins/:$SQ_DIR/"
|
|
-IMAGE="/usr/lib/scratch/Scratch.image"
|
|
+VMOPTIONS="-encoding UTF-8 -vm-display-x11 -xshm -plugins %%PREFIX%%/share/scratch/Plugins/:$SQ_DIR/"
|
|
+IMAGE="%%PREFIX%%/share/scratch/Scratch.image"
|
|
IMOPTIONS=""
|
|
DOCUMENT=""
|
|
WRAPPER=""
|