$OpenBSD: patch-same-gnome_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.

--- same-gnome/Makefile.in.orig	Thu Dec 17 01:13:46 2009
+++ same-gnome/Makefile.in	Thu Dec 17 09:23:56 2009
@@ -426,7 +426,7 @@ psdir = @psdir@
 pyexecdir = @pyexecdir@
 pythondir = @pythondir@
 sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
 scores_group = @scores_group@
 scores_user = @scores_user@
 setgid = @setgid@
@@ -1141,14 +1141,9 @@ install-scorefiles-local:
 	fi
 	-for i in ${SCOREFILES} ; do \
 	  touch $(DESTDIR)$(scoredir)/same-gnome.$$i.scores; \
-	  chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/same-gnome.$$i.scores; \
-	  chmod 664 $(DESTDIR)$(scoredir)/same-gnome.$$i.scores; \
 	done
 
 install-exec-hook:
-	-if test "$(setgid)" = "true"; then \
-	  chgrp $(scores_group) $(DESTDIR)$(bindir)/same-gnome && chmod 2555 $(DESTDIR)$(bindir)/same-gnome ;\
-	fi
 
 install-data-local: install-schemas-local install-scorefiles-local
 
