aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-01-20 07:43:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-01-20 07:43:58 +0800
commitb8eb547346cdb24667f84c709613811f059d20a3 (patch)
tree7ea7908d1154cfe7bfe855e2c9940c702ef2aec1 /games
parent6f3a6c2dc3f3b24ff45ea86ce51730b9c6a1442b (diff)
downloadfreebsd-ports-gnome-b8eb547346cdb24667f84c709613811f059d20a3.tar.gz
freebsd-ports-gnome-b8eb547346cdb24667f84c709613811f059d20a3.tar.zst
freebsd-ports-gnome-b8eb547346cdb24667f84c709613811f059d20a3.zip
- Update to 4.4
Diffstat (limited to 'games')
-rw-r--r--games/brainworkshop/Makefile2
-rw-r--r--games/brainworkshop/distinfo6
-rw-r--r--games/brainworkshop/files/patch-brainworkshop.pyw24
-rw-r--r--games/brainworkshop/pkg-plist3
4 files changed, 19 insertions, 16 deletions
diff --git a/games/brainworkshop/Makefile b/games/brainworkshop/Makefile
index b8fa6ce8dfef..73273ed8181a 100644
--- a/games/brainworkshop/Makefile
+++ b/games/brainworkshop/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= brainworkshop
-PORTVERSION= 4.3
+PORTVERSION= 4.4
CATEGORIES= games
MASTER_SITES= SF
diff --git a/games/brainworkshop/distinfo b/games/brainworkshop/distinfo
index 2c737aa4b86a..a3390f1a2e76 100644
--- a/games/brainworkshop/distinfo
+++ b/games/brainworkshop/distinfo
@@ -1,3 +1,3 @@
-MD5 (brainworkshop-4.3.zip) = c33df401ce7315cb57c4265dd1c3befa
-SHA256 (brainworkshop-4.3.zip) = d6d0903004e99cd37d7e1039c8d94cfdbfcdba279df8df43741ba91c6fb10960
-SIZE (brainworkshop-4.3.zip) = 11365936
+MD5 (brainworkshop-4.4.zip) = 99a917c5044b040e5269bd5809aed611
+SHA256 (brainworkshop-4.4.zip) = f3bdee10499f02d8d3505690172bf540f9e70b32b9ae8117464a9b02a874b505
+SIZE (brainworkshop-4.4.zip) = 11829491
diff --git a/games/brainworkshop/files/patch-brainworkshop.pyw b/games/brainworkshop/files/patch-brainworkshop.pyw
index 80628dffa6f8..2b27adfdc6bf 100644
--- a/games/brainworkshop/files/patch-brainworkshop.pyw
+++ b/games/brainworkshop/files/patch-brainworkshop.pyw
@@ -1,6 +1,6 @@
---- brainworkshop.pyw.orig 2008-11-05 01:11:08.000000000 +0300
-+++ brainworkshop.pyw 2008-11-05 01:11:55.000000000 +0300
-@@ -52,9 +52,7 @@
+--- brainworkshop.pyw.orig 2009-01-17 21:01:40.000000000 +0300
++++ brainworkshop.pyw 2009-01-19 22:41:15.000000000 +0300
+@@ -49,9 +49,7 @@
hasattr(sys, "importers") # old py2exe
or imp.is_frozen("__main__")) # tools/freeze
def get_main_dir():
@@ -8,20 +8,20 @@
- return os.path.dirname(sys.executable)
- return sys.path[0]
+ return '/'
-
- CONFIGFILE_DEFAULT_CONTENTS = """
- ######################################################################
-@@ -252,6 +250,9 @@
- try: CONFIGFILE = sys.argv[sys.argv.index('--configfile') + 1]
- except: pass
+ def get_data_dir():
+ try:
+ return sys.argv[sys.argv.index('--datadir') + 1]
+@@ -355,6 +353,9 @@
+ except:
+ pass
+if not os.path.exists(FOLDER_DATA):
+ os.mkdir(FOLDER_DATA)
+
- if not os.path.isfile(os.path.join(get_main_dir(), FOLDER_DATA, CONFIGFILE)):
- newconfigfile = open(os.path.join(os.path.join(get_main_dir(), FOLDER_DATA, CONFIGFILE)), 'w')
+ if not os.path.isfile(os.path.join(get_data_dir(), CONFIGFILE)):
+ newconfigfile = open(os.path.join(os.path.join(get_data_dir(), CONFIGFILE)), 'w')
newconfigfile.write(CONFIGFILE_DEFAULT_CONTENTS)
-@@ -432,17 +433,7 @@
+@@ -643,17 +644,7 @@
print >> sys.stderr, ''.join(str_list)
sys.exit(1)
diff --git a/games/brainworkshop/pkg-plist b/games/brainworkshop/pkg-plist
index 79cb1fe21c82..e9bef901e2ad 100644
--- a/games/brainworkshop/pkg-plist
+++ b/games/brainworkshop/pkg-plist
@@ -11,9 +11,11 @@ bin/brainworkshop
%%DATADIR%%/brandenburg.ogg
%%DATADIR%%/c.wav
%%DATADIR%%/caribe.ogg
+%%DATADIR%%/cematinla.ogg
%%DATADIR%%/cornerpocket.ogg
%%DATADIR%%/dinah.ogg
%%DATADIR%%/elubechango.ogg
+%%DATADIR%%/femmedargent.ogg
%%DATADIR%%/frevorasgado.ogg
%%DATADIR%%/glassworks.ogg
%%DATADIR%%/h.wav
@@ -122,6 +124,7 @@ bin/brainworkshop
%%DATADIR%%/r.wav
%%DATADIR%%/s.wav
%%DATADIR%%/sarahmencken.ogg
+%%DATADIR%%/spellbound.ogg
%%DATADIR%%/spr_square_blue.png
%%DATADIR%%/spr_square_cyan.png
%%DATADIR%%/spr_square_green.png