Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2018 21:43:49 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487548 - in head/games: five-or-more gnome-nibbles gnome-robots tali
Message-ID:  <201812152143.wBFLhnfj080810@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sat Dec 15 21:43:49 2018
New Revision: 487548
URL: https://svnweb.freebsd.org/changeset/ports/487548

Log:
  Make sure share/games gets created and removed. Otherwise there might be
  chicken & egg issues. While here fix tali score files.
  
  Reported by:	mandree@, antoine@

Modified:
  head/games/five-or-more/Makefile
  head/games/five-or-more/pkg-plist
  head/games/gnome-nibbles/Makefile
  head/games/gnome-nibbles/pkg-plist
  head/games/gnome-robots/Makefile
  head/games/gnome-robots/pkg-plist
  head/games/tali/Makefile
  head/games/tali/pkg-plist

Modified: head/games/five-or-more/Makefile
==============================================================================
--- head/games/five-or-more/Makefile	Sat Dec 15 21:26:37 2018	(r487547)
+++ head/games/five-or-more/Makefile	Sat Dec 15 21:43:49 2018	(r487548)
@@ -25,4 +25,7 @@ CONFIGURE_ARGS=	--localstatedir=${PREFIX}/share
 
 GLIB_SCHEMAS=	org.gnome.five-or-more.gschema.xml
 
+post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/games
+
 .include <bsd.port.mk>

Modified: head/games/five-or-more/pkg-plist
==============================================================================
--- head/games/five-or-more/pkg-plist	Sat Dec 15 21:26:37 2018	(r487547)
+++ head/games/five-or-more/pkg-plist	Sat Dec 15 21:43:49 2018	(r487548)
@@ -753,3 +753,4 @@ share/locale/xh/LC_MESSAGES/five-or-more.mo
 share/locale/zh_CN/LC_MESSAGES/five-or-more.mo
 share/locale/zh_HK/LC_MESSAGES/five-or-more.mo
 share/locale/zh_TW/LC_MESSAGES/five-or-more.mo
+@dir share/games

Modified: head/games/gnome-nibbles/Makefile
==============================================================================
--- head/games/gnome-nibbles/Makefile	Sat Dec 15 21:26:37 2018	(r487547)
+++ head/games/gnome-nibbles/Makefile	Sat Dec 15 21:43:49 2018	(r487548)
@@ -39,4 +39,7 @@ CONFIGURE_ARGS=	--localstatedir=${PREFIX}/share
 
 GLIB_SCHEMAS=	org.gnome.nibbles.gschema.xml
 
+post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/games
+
 .include <bsd.port.mk>

Modified: head/games/gnome-nibbles/pkg-plist
==============================================================================
--- head/games/gnome-nibbles/pkg-plist	Sat Dec 15 21:26:37 2018	(r487547)
+++ head/games/gnome-nibbles/pkg-plist	Sat Dec 15 21:43:49 2018	(r487548)
@@ -393,3 +393,4 @@ share/locale/xh/LC_MESSAGES/gnome-nibbles.mo
 share/locale/zh_CN/LC_MESSAGES/gnome-nibbles.mo
 share/locale/zh_HK/LC_MESSAGES/gnome-nibbles.mo
 share/locale/zh_TW/LC_MESSAGES/gnome-nibbles.mo
+@dir share/games

Modified: head/games/gnome-robots/Makefile
==============================================================================
--- head/games/gnome-robots/Makefile	Sat Dec 15 21:26:37 2018	(r487547)
+++ head/games/gnome-robots/Makefile	Sat Dec 15 21:43:49 2018	(r487548)
@@ -32,4 +32,7 @@ CONFIGURE_ARGS=	--localstatedir=${PREFIX}/share
 
 GLIB_SCHEMAS=	org.gnome.robots.gschema.xml
 
+post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/games
+
 .include <bsd.port.mk>

Modified: head/games/gnome-robots/pkg-plist
==============================================================================
--- head/games/gnome-robots/pkg-plist	Sat Dec 15 21:26:37 2018	(r487547)
+++ head/games/gnome-robots/pkg-plist	Sat Dec 15 21:43:49 2018	(r487548)
@@ -747,3 +747,4 @@ share/locale/zh_CN/LC_MESSAGES/gnome-robots.mo
 share/locale/zh_HK/LC_MESSAGES/gnome-robots.mo
 share/locale/zh_TW/LC_MESSAGES/gnome-robots.mo
 share/metainfo/gnome-robots.appdata.xml
+@dir share/games

Modified: head/games/tali/Makefile
==============================================================================
--- head/games/tali/Makefile	Sat Dec 15 21:26:37 2018	(r487547)
+++ head/games/tali/Makefile	Sat Dec 15 21:43:49 2018	(r487548)
@@ -25,4 +25,7 @@ CONFIGURE_ARGS=	--localstatedir=${PREFIX}/share
 
 GLIB_SCHEMAS=	org.gnome.tali.gschema.xml
 
+post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/games
+
 .include <bsd.port.mk>

Modified: head/games/tali/pkg-plist
==============================================================================
--- head/games/tali/pkg-plist	Sat Dec 15 21:26:37 2018	(r487547)
+++ head/games/tali/pkg-plist	Sat Dec 15 21:43:49 2018	(r487548)
@@ -2,6 +2,8 @@ bin/tali
 man/man6/tali.6.gz
 share/appdata/tali.appdata.xml
 share/applications/tali.desktop
+@unexec [ -s %D/share/games/gtali.Colors.scores ] || rm -f %D/share/games/gtali.Colors.scores
+@unexec [ -s %D/share/games/gtali.Regular.scores ] || rm -f %D/share/games/gtali.Regular.scores
 share/help/C/tali/figures/mainwindow.png
 share/help/C/tali/figures/preferences.png
 share/help/C/tali/index.docbook
@@ -193,3 +195,4 @@ share/locale/zh_TW/LC_MESSAGES/tali.mo
 %%DATADIR%%/kismet4.svg
 %%DATADIR%%/kismet5.svg
 %%DATADIR%%/kismet6.svg
+@dir share/games



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812152143.wBFLhnfj080810>