svn commit: r487548 - in head/games: five-or-more gnome-nibbles gnome-robots tali

Koop Mast kwm at FreeBSD.org
Sat Dec 15 21:43:52 UTC 2018


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
+ at 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
+ at 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
+ at 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
+ at unexec [ -s %D/share/games/gtali.Colors.scores ] || rm -f %D/share/games/gtali.Colors.scores
+ at 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
+ at dir share/games


More information about the svn-ports-all mailing list