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

25 lines
1.0 KiB
Plaintext

$OpenBSD: patch-gtali_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.
--- gtali/Makefile.in.orig Mon Sep 27 03:53:08 2010
+++ gtali/Makefile.in Mon Sep 27 07:57:38 2010
@@ -1044,16 +1044,9 @@ install-data-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-if test -e $(DESTDIR)$(scoredir)/gtali.scores ; then mv $(DESTDIR)$(scoredir)/gtali.scores $(DESTDIR)$(scoredir)/gtali.Regular.scores ; fi
-touch $(DESTDIR)$(scoredir)/gtali.Regular.scores
- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gtali.Regular.scores
- -chmod 664 $(DESTDIR)$(scoredir)/gtali.Regular.scores
-touch $(DESTDIR)$(scoredir)/gtali.Colors.scores
- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gtali.Colors.scores
- -chmod 664 $(DESTDIR)$(scoredir)/gtali.Colors.scores
install-exec-hook:
- -if test "$(setgid)" = "true"; then \
- chgrp $(scores_group) $(DESTDIR)$(bindir)/gtali && chmod 2555 $(DESTDIR)$(bindir)/gtali ;\
- fi
-include $(top_srcdir)/git.mk