summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-20 04:26:50 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-20 04:26:50 +0800
commit28e8b6e4ba04ea94c55c86068fd699c10e1989f5 (patch)
tree55387db0c0ddcf69c7673a6720c310fe2809db64 /games
parente54ce0735eedf188af5dddc373b5b4023862abc6 (diff)
downloadmarcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.gz
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.bz2
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.lz
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.xz
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.zst
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.zip
Make sure the mahjongg score files get created.
Submitted by: Franz Klammer <klammer@webonaut.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@403 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games')
-rw-r--r--games/gnome-games/Makefile1
-rw-r--r--games/gnome-games/files/patch-mahjongg_Makefile.in18
-rw-r--r--games/gnomegames2/Makefile1
-rw-r--r--games/gnomegames2/files/patch-mahjongg_Makefile.in18
4 files changed, 38 insertions, 0 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 9d8ff7be8..2e580bbd7 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomegames2
PORTVERSION= 2.1.5
+PORTREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-games/2.1
diff --git a/games/gnome-games/files/patch-mahjongg_Makefile.in b/games/gnome-games/files/patch-mahjongg_Makefile.in
new file mode 100644
index 000000000..c8d40ce2c
--- /dev/null
+++ b/games/gnome-games/files/patch-mahjongg_Makefile.in
@@ -0,0 +1,18 @@
+--- mahjongg/Makefile.in.orig Sun Jan 19 14:54:47 2003
++++ mahjongg/Makefile.in Sun Jan 19 14:56:21 2003
+@@ -593,9 +593,12 @@
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
+ -$(mkinstalldirs) $(DESTDIR)$(scoredir)
+ $(mkinstalldirs) $(DESTDIR)$(bgdir)
+- touch $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
+- -chown games.games $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
+- -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
++ touch $(DESTDIR)$(scoredir)/mahjongg.easy.scores
++ touch $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
++ -chown games.games $(DESTDIR)$(scoredir)/mahjongg.easy.scores
++ -chown games.games $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
++ -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.easy.scores
++ -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
+ -chgrp games $(DESTDIR)$(bindir)/mahjongg && chmod 2555 $(DESTDIR)$(bindir)/mahjongg
+ $(mkinstalldirs) $(DESTDIR)$(Gamesdir)
+
diff --git a/games/gnomegames2/Makefile b/games/gnomegames2/Makefile
index 9d8ff7be8..2e580bbd7 100644
--- a/games/gnomegames2/Makefile
+++ b/games/gnomegames2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomegames2
PORTVERSION= 2.1.5
+PORTREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-games/2.1
diff --git a/games/gnomegames2/files/patch-mahjongg_Makefile.in b/games/gnomegames2/files/patch-mahjongg_Makefile.in
new file mode 100644
index 000000000..c8d40ce2c
--- /dev/null
+++ b/games/gnomegames2/files/patch-mahjongg_Makefile.in
@@ -0,0 +1,18 @@
+--- mahjongg/Makefile.in.orig Sun Jan 19 14:54:47 2003
++++ mahjongg/Makefile.in Sun Jan 19 14:56:21 2003
+@@ -593,9 +593,12 @@
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
+ -$(mkinstalldirs) $(DESTDIR)$(scoredir)
+ $(mkinstalldirs) $(DESTDIR)$(bgdir)
+- touch $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
+- -chown games.games $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
+- -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
++ touch $(DESTDIR)$(scoredir)/mahjongg.easy.scores
++ touch $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
++ -chown games.games $(DESTDIR)$(scoredir)/mahjongg.easy.scores
++ -chown games.games $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
++ -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.easy.scores
++ -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
+ -chgrp games $(DESTDIR)$(bindir)/mahjongg && chmod 2555 $(DESTDIR)$(bindir)/mahjongg
+ $(mkinstalldirs) $(DESTDIR)$(Gamesdir)
+