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

23 lines
871 B
Plaintext

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