$OpenBSD: patch-gnobots2_Makefile_in,v 1.8 2010/09/27 07:01:50 ajacoutot Exp $

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

--- gnobots2/Makefile.in.orig	Mon Sep 27 03:53:06 2010
+++ gnobots2/Makefile.in	Mon Sep 27 07:57:38 2010
@@ -1265,15 +1265,12 @@ install-data-local:
             fname1=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2.scores; \
             fname2=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-safe.scores; \
             fname3=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-super-safe.scores; \
-	    touch $$fname1; chmod 664 $$fname1; chown $(scores_user):$(scores_group) $$fname1; \
-	    touch $$fname2; chmod 664 $$fname2; chown $(scores_user):$(scores_group) $$fname2; \
-	    touch $$fname3; chmod 664 $$fname3; chown $(scores_user):$(scores_group) $$fname3; \
+	    touch $$fname1; \
+	    touch $$fname2; \
+	    touch $$fname3; \
 	    done
 
 install-exec-hook:
-	-if test "$(setgid)" = "true"; then \
-	  chgrp $(scores_group) $(DESTDIR)$(bindir)/gnobots2 && chmod 2555 $(DESTDIR)$(bindir)/gnobots2 ;\
-	fi
 
 -include $(top_srcdir)/git.mk
 
