openbsd-ports/x11/gnome/games/patches/patch-glines_Makefile_in
2010-09-27 07:01:50 +00:00

25 lines
818 B
Plaintext

$OpenBSD: patch-glines_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.
--- glines/Makefile.in.orig Mon Sep 27 03:53:05 2010
+++ glines/Makefile.in Mon Sep 27 07:57:38 2010
@@ -1022,16 +1022,11 @@ install-scorefiles-local:
fi
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/glines.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/glines.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/glines.$$i.scores; \
done
install-data-local: install-schemas-local install-scorefiles-local
install-exec-hook:
- -if test "$(setgid)" = "true"; then \
- chgrp $(scores_group) $(DESTDIR)$(bindir)/glines && chmod 2555 $(DESTDIR)$(bindir)/glines ;\
- fi
-include $(top_srcdir)/git.mk