$OpenBSD: patch-gnotski_Makefile_in,v 1.2 2008/11/25 09:52:57 jasper Exp $

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

--- gnotski/Makefile.in.orig	Tue Nov 25 01:50:15 2008
+++ gnotski/Makefile.in	Tue Nov 25 10:27:12 2008
@@ -359,7 +359,7 @@ psdir = @psdir@
 pyexecdir = @pyexecdir@
 pythondir = @pythondir@
 sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
 scores_group = @scores_group@
 scores_user = @scores_user@
 setgid = @setgid@
@@ -875,11 +875,8 @@ install-schemas-local: $(schema_DATA)
 
 install-scorefiles-local:
 	-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-	-if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnotski && chmod 2555 $(DESTDIR)$(bindir)/gnotski ; fi
 	-for i in ${SCOREFILES} ; do \
 	  touch             $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
-	  chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
-	  chmod 664         $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
 	done
 
 install-data-local: install-schemas-local install-scorefiles-local
