From 4e4614e106c77cb933892de302c42c09056dd36b Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 19 Jan 2003 20:24:08 +0000 Subject: [PATCH] Make sure the score files for mahjongg get created. Submitted by: Franz Klammer --- games/gnome-games/Makefile | 2 +- .../files/patch-mahjongg_Makefile.in | 18 ++++++++++++++++++ games/gnomegames2/Makefile | 2 +- .../files/patch-mahjongg_Makefile.in | 18 ++++++++++++++++++ 4 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 games/gnome-games/files/patch-mahjongg_Makefile.in create mode 100644 games/gnomegames2/files/patch-mahjongg_Makefile.in 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) +