summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-17 17:38:54 +0000
committerwiz <wiz@pkgsrc.org>2014-08-17 17:38:54 +0000
commit226fa99320313bbc3e959322d70be600666441b0 (patch)
tree5ce466cd0cbb4c89ed884cf46f32e3eddd06d19f
parentc8899671b19f3beca4ac8d3372ca5adaa6d82cf4 (diff)
downloadpkgsrc-226fa99320313bbc3e959322d70be600666441b0.tar.gz
Update to 0.9.3:
Version 0.9.3 released, which fixes a few bugs in Alien Artifacts cards and enables campaign mode.
-rw-r--r--games/rftg/Makefile4
-rw-r--r--games/rftg/PLIST3
-rw-r--r--games/rftg/distinfo9
-rw-r--r--games/rftg/patches/patch-osx_bundle_launcher.sh53
4 files changed, 62 insertions, 7 deletions
diff --git a/games/rftg/Makefile b/games/rftg/Makefile
index 21b9a257447..7a26af623be 100644
--- a/games/rftg/Makefile
+++ b/games/rftg/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2014/08/10 14:52:17 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2014/08/17 17:38:54 wiz Exp $
-DISTNAME= rftg-0.9.2
+DISTNAME= rftg-0.9.3
CATEGORIES= games
MASTER_SITES= http://keldon.net/rftg/
EXTRACT_SUFX= .tar.bz2
diff --git a/games/rftg/PLIST b/games/rftg/PLIST
index 54a119aabbd..102f1b65d4b 100644
--- a/games/rftg/PLIST
+++ b/games/rftg/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2014/08/10 14:52:17 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2014/08/17 17:38:54 wiz Exp $
bin/do_train
bin/rftg
libexec/rftg
share/doc/rftg/README
+share/rftg/campaign.txt
share/rftg/cards.txt
share/rftg/images.data
share/rftg/network/rftg.eval.0.2.net
diff --git a/games/rftg/distinfo b/games/rftg/distinfo
index a982f56ead9..862aebb9d20 100644
--- a/games/rftg/distinfo
+++ b/games/rftg/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2014/08/10 14:52:17 wiz Exp $
+$NetBSD: distinfo,v 1.11 2014/08/17 17:38:54 wiz Exp $
-SHA1 (rftg-0.9.2.tar.bz2) = eec7020aedc0cbf8371da792738f90445c76b225
-RMD160 (rftg-0.9.2.tar.bz2) = bf331b5a3be055a3610662cc1425928dbdc00e1e
-Size (rftg-0.9.2.tar.bz2) = 35071277 bytes
+SHA1 (rftg-0.9.3.tar.bz2) = f4ba3349df99204d9b0617d07cd33e5614f5424f
+RMD160 (rftg-0.9.3.tar.bz2) = 6b6ebad9a0c512213bd3ade724889e3fe59f50eb
+Size (rftg-0.9.3.tar.bz2) = 35090065 bytes
+SHA1 (patch-osx_bundle_launcher.sh) = 01ef5b0f18e792872253569e974395310c3fbab1
diff --git a/games/rftg/patches/patch-osx_bundle_launcher.sh b/games/rftg/patches/patch-osx_bundle_launcher.sh
new file mode 100644
index 00000000000..453297d1108
--- /dev/null
+++ b/games/rftg/patches/patch-osx_bundle_launcher.sh
@@ -0,0 +1,53 @@
+$NetBSD: patch-osx_bundle_launcher.sh,v 1.1 2014/08/17 17:38:54 wiz Exp $
+
+Fix unportable test(1) construct.
+
+--- osx/bundle/launcher.sh.orig 2014-08-11 22:27:08.000000000 +0000
++++ osx/bundle/launcher.sh
+@@ -55,7 +55,7 @@ if test "$APPLELANGUAGES"; then
+ fi
+ #This is a special case, because often the original strings are in US
+ #English and there is no translation file.
+- if test "x$L" == "xen_US"; then
++ if test "x$L" = "xen_US"; then
+ export LANG=$L
+ break
+ fi
+@@ -65,7 +65,7 @@ if test "$APPLELANGUAGES"; then
+ break
+ fi
+ #Same thing, but checking for any english variant.
+- if test "x${L:0:2}" == "xen"; then
++ if test "x${L:0:2}" = "xen"; then
+ export LANG=$L
+ break
+ fi;
+@@ -105,16 +105,16 @@ if test -n $LANG; then
+ #If the language code matches the applelocale, then that's the message
+ #locale; otherwise, if it's longer than two characters, then it's
+ #probably a good message locale and we'll go with it.
+- if test $LANG == ${APPLELOCALE:0:5} -o $LANG != ${LANG:0:2}; then
++ if test $LANG = ${APPLELOCALE:0:5} -o $LANG != ${LANG:0:2}; then
+ export LC_MESSAGES=$LANG
+ #Next try if the Applelocale is longer than 2 chars and the language
+ #bit matches $LANG
+- elif test $LANG == ${APPLELOCALE:0:2} -a $APPLELOCALE > ${APPLELOCALE:0:2}; then
++ elif test $LANG = ${APPLELOCALE:0:2} -a $APPLELOCALE > ${APPLELOCALE:0:2}; then
+ export LC_MESSAGES=${APPLELOCALE:0:5}
+ #Fail. Get a list of the locales in $PREFIX/share/locale that match
+ #our two letter language code and pick the first one, special casing
+ #english to set en_US
+- elif test $LANG == "en"; then
++ elif test $LANG = "en"; then
+ export LC_MESSAGES="en_US"
+ else
+ LOC=`find $PREFIX/share/locale -name $LANG???`
+@@ -131,7 +131,7 @@ CURRENCY=`echo $APPLELOCALE | sed -En '
+ if test "x$CURRENCY" != "x"; then
+ #The user has set a special currency. Gtk doesn't install LC_MONETARY files, but Apple does in /usr/share/locale, so we're going to look there for a locale to set LC_CURRENCY to.
+ if test -f /usr/local/share/$LC_MESSAGES/LC_MONETARY; then
+- if test -a `cat /usr/local/share/$LC_MESSAGES/LC_MONETARY` == $CURRENCY; then
++ if test -a `cat /usr/local/share/$LC_MESSAGES/LC_MONETARY` = $CURRENCY; then
+ export LC_MONETARY=$LC_MESSAGES
+ fi
+ fi