$OpenBSD: patch-gnometris_Makefile_in,v 1.5 2009/12/17 09:10:02 ajacoutot Exp $

Install the .scores files into share/ , to @sample them
into /var/games/ later.

--- gnometris/Makefile.in.orig	Thu Dec 17 01:13:42 2009
+++ gnometris/Makefile.in	Thu Dec 17 09:23:56 2009
@@ -445,7 +445,7 @@ psdir = @psdir@
 pyexecdir = @pyexecdir@
 pythondir = @pythondir@
 sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
 scores_group = @scores_group@
 scores_user = @scores_user@
 setgid = @setgid@
@@ -1218,13 +1218,8 @@ install-data-local:
 @GCONF_SCHEMAS_INSTALL_TRUE@	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gnometris/$(schema_DATA)
 	-$(mkinstalldirs) $(DESTDIR)$(scoredir)
 	-touch $(DESTDIR)$(scoredir)/gnometris.scores
-	-chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnometris.scores
-	-chmod 664 $(DESTDIR)$(scoredir)/gnometris.scores
 
 install-exec-hook:
-	-if test "$(setgid)" = "true"; then \
-	  chgrp $(scores_group) $(DESTDIR)$(bindir)/gnometris && chmod 2555 $(DESTDIR)$(bindir)/gnometris ;\
-	fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
