openbsd-ports/x11/gnome/games/patches/patch-gtali_Makefile_in
ajacoutot ca2f8503b6 Maintenance update to gnome-games-2.28.2.
Some bugfixes and several translation updates.
2009-12-17 09:10:02 +00:00

34 lines
1.4 KiB
Plaintext

$OpenBSD: patch-gtali_Makefile_in,v 1.5 2009/12/17 09:10:02 ajacoutot Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gtali/Makefile.in.orig Thu Dec 17 01:13:43 2009
+++ gtali/Makefile.in Thu Dec 17 09:23:56 2009
@@ -425,7 +425,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -1094,16 +1094,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
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.