1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/xteddy/files/patch-xteddy_test
Armin Pirkovitsch 91ff003b69 - Update to version 2.2
- Update WWW: line
- Add LICENSE

PR:           ports/169417
Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
Approved by:  beat (mentor)
2012-07-19 17:39:58 +00:00

22 lines
650 B
Plaintext

--- xteddy_test.orig 2009-02-08 05:48:26.000000000 +0900
+++ xteddy_test 2012-06-21 16:03:21.000000000 +0900
@@ -1,15 +1,9 @@
#!/bin/sh
i=0
-if [ -d /usr/share/xteddy ] ; then
- for img in `ls /usr/share/xteddy` ; do
+if [ -d %%PREFIX%%/share/xteddy ] ; then
+ for img in `ls %%PREFIX%%/share/xteddy` ; do
i=`expr $i + 50`
- xteddy -F/usr/share/xteddy/$img -geometry +$i+$i &
- done
-fi
-if [ -d /usr/local/share/xteddy ] ; then
- for img in `ls /usr/local/share/xteddy` ; do
- i=`expr $i + 50`
- xteddy -F/usr/local/share/xteddy/$img -geometry +$i+$i &
+ xteddy -F%%PREFIX%%/share/xteddy/$img -geometry +$i+$i &
done
fi