23 lines
961 B
Plaintext
23 lines
961 B
Plaintext
$OpenBSD: patch-gnomine_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.
|
|
|
|
--- gnomine/Makefile.in.orig Mon Sep 27 03:53:07 2010
|
|
+++ gnomine/Makefile.in Mon Sep 27 07:57:38 2010
|
|
@@ -1019,14 +1019,9 @@ install-data-local:
|
|
-if [ -f $(DESTDIR)$(scoredir)/gnomine.Biiiig.scores -a ! -f $(DESTDIR)$(scoredir)/gnomine.Large.scores ]; then mv -f $(DESTDIR)$(scoredir)/gnomine.Biiiig.scores $(DESTDIR)$(scoredir)/gnomine.Large.scores ; fi
|
|
-for i in ${SCOREFILES} ; do \
|
|
touch $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
|
|
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
|
|
- chmod 664 $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
|
|
done
|
|
|
|
install-exec-hook:
|
|
- -if test "$(setgid)" = "true"; then \
|
|
- chgrp $(scores_group) $(DESTDIR)$(bindir)/gnomine && chmod 2555 $(DESTDIR)$(bindir)/gnomine ;\
|
|
- fi
|
|
|
|
-include $(top_srcdir)/git.mk
|
|
|