openbsd-ports/x11/gnome/games/patches/patch-gnomine_Makefile_in
jasper 59d86a4f45 - update gnome-games to 2.24.2
* mostly gnome-sudoku fixes
2008-11-25 09:52:57 +00:00

28 lines
1.3 KiB
Plaintext

$OpenBSD: patch-gnomine_Makefile_in,v 1.2 2008/11/25 09:52:57 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnomine/Makefile.in.orig Tue Nov 25 01:50:14 2008
+++ gnomine/Makefile.in Tue Nov 25 10:27:12 2008
@@ -343,7 +343,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -838,10 +838,7 @@ 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
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnomine && chmod 2555 $(DESTDIR)$(bindir)/gnomine ; 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.
.NOEXPORT: