28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
$OpenBSD: patch-gnibbles_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.
|
|
|
|
--- gnibbles/Makefile.in.orig Tue Nov 25 01:50:11 2008
|
|
+++ gnibbles/Makefile.in Tue Nov 25 10:27:11 2008
|
|
@@ -400,7 +400,7 @@ psdir = @psdir@
|
|
pyexecdir = @pyexecdir@
|
|
pythondir = @pythondir@
|
|
sbindir = @sbindir@
|
|
-scoredir = @scoredir@
|
|
+scoredir = ${pkgdatadir}/scores/
|
|
scores_group = @scores_group@
|
|
scores_user = @scores_user@
|
|
setgid = @setgid@
|
|
@@ -1231,10 +1231,7 @@ install-data-local: $(ggzclient_dsc_in_files:.dsc.in=.
|
|
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
|
|
-for i in ${SCOREFILES} ; do \
|
|
touch $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
|
|
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
|
|
- chmod 664 $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
|
|
done
|
|
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnibbles && chmod 2555 $(DESTDIR)$(bindir)/gnibbles ; fi
|
|
|
|
uninstall-local:
|
|
@GGZ_CLIENT_TRUE@ -$(GGZ_CONFIG) -D --remove --modfile=gnibbles-client.dsc
|