aboutsummaryrefslogtreecommitdiff
path: root/games/gnomegames2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-19 20:24:08 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-19 20:24:08 +0000
commit4e4614e106c77cb933892de302c42c09056dd36b (patch)
tree6a7e293bd52ee610338b2c469e6a9f885ccefe38 /games/gnomegames2
parent5a4f7dfe03d92c68ff1d36cf58a8d0356ab347da (diff)
downloadports-4e4614e106c77cb933892de302c42c09056dd36b.tar.gz
ports-4e4614e106c77cb933892de302c42c09056dd36b.zip
Make sure the score files for mahjongg get created.
Submitted by: Franz Klammer <klammer@webonaut.com>
Notes
Notes: svn path=/head/; revision=73553
Diffstat (limited to 'games/gnomegames2')
-rw-r--r--games/gnomegames2/Makefile2
-rw-r--r--games/gnomegames2/files/patch-mahjongg_Makefile.in18
2 files changed, 19 insertions, 1 deletions
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)
+