aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-20 04:24:08 +0800
committermarcus <marcus@FreeBSD.org>2003-01-20 04:24:08 +0800
commit0bd3214114f0f9c30e2f47dd36ac55dfd9587881 (patch)
tree39471f1b9b5b0ad28bba3c62a117527382503180 /games
parent04da7aa1195ef4f955cfab1edf5941911f0ed4a4 (diff)
downloadfreebsd-ports-gnome-0bd3214114f0f9c30e2f47dd36ac55dfd9587881.tar.gz
freebsd-ports-gnome-0bd3214114f0f9c30e2f47dd36ac55dfd9587881.tar.zst
freebsd-ports-gnome-0bd3214114f0f9c30e2f47dd36ac55dfd9587881.zip
Make sure the score files for mahjongg get created.
Submitted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'games')
-rw-r--r--games/gnome-games/Makefile2
-rw-r--r--games/gnome-games/files/patch-mahjongg_Makefile.in18
-rw-r--r--games/gnomegames2/Makefile2
-rw-r--r--games/gnomegames2/files/patch-mahjongg_Makefile.in18
4 files changed, 38 insertions, 2 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 3081dc591d01..fbac3fb01b4f 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomegames2
PORTVERSION= 2.0.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-games/2.0
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 000000000000..c8d40ce2cf38
--- /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 3081dc591d01..fbac3fb01b4f 100644
--- a/games/gnomegames2/Makefile
+++ b/games/gnomegames2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomegames2
PORTVERSION= 2.0.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-games/2.0
diff --git a/games/gnomegames2/files/patch-mahjongg_Makefile.in b/games/gnomegames2/files/patch-mahjongg_Makefile.in
new file mode 100644
index 000000000000..c8d40ce2cf38
--- /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)
+