Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 13:38:49 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373823 - head/games/ggz-gtk-games
Message-ID:  <201412031338.sB3Dcna0099859@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Dec  3 13:38:48 2014
New Revision: 373823
URL: https://svnweb.freebsd.org/changeset/ports/373823
QAT: https://qat.redports.org/buildarchive/r373823/

Log:
  - Remove NLS option, doesn't build with it disabled
  - Fix etc/ggz.modules handling
  - Drop @dirrm* from plist

Modified:
  head/games/ggz-gtk-games/Makefile
  head/games/ggz-gtk-games/pkg-plist

Modified: head/games/ggz-gtk-games/Makefile
==============================================================================
--- head/games/ggz-gtk-games/Makefile	Wed Dec  3 13:38:41 2014	(r373822)
+++ head/games/ggz-gtk-games/Makefile	Wed Dec  3 13:38:48 2014	(r373823)
@@ -11,7 +11,7 @@ COMMENT=	The GGZ Gaming Zone - GTK+ Game
 
 RUN_DEPENDS=	${LOCALBASE}/bin/ggz-gtk:${PORTSDIR}/games/ggz-gtk-client
 
-USES=		pkgconfig
+USES=		gettext pkgconfig
 USE_GNOME=	gtk20
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debug
@@ -22,12 +22,6 @@ INSTALL_TARGET=	install-strip
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -pthread
 
-OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=	yes
-
-NLS_USES=	gettext
-NLS_CONFIGURE_OFF=	--disable-nls
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = -lggzcore|' \
 		${WRKSRC}/chess/Makefile.in \
@@ -50,6 +44,7 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/reversi/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/reversi.dsc
 	${INSTALL_DATA} ${WRKSRC}/spades/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/spades.dsc
 	${INSTALL_DATA} ${WRKSRC}/tictactoe/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/tictactoe.dsc
+	${RM} ${STAGEDIR}${PREFIX}/etc/ggz.modules
 
 .include "${.CURDIR}/../libggz/bsd.ggz.mk"
 .include <bsd.port.mk>

Modified: head/games/ggz-gtk-games/pkg-plist
==============================================================================
--- head/games/ggz-gtk-games/pkg-plist	Wed Dec  3 13:38:41 2014	(r373822)
+++ head/games/ggz-gtk-games/pkg-plist	Wed Dec  3 13:38:48 2014	(r373823)
@@ -125,33 +125,14 @@ share/ggz/spades.dsc
 @unexec ggz-config -D --remove --modfile=%D/share/ggz/tictactoe.dsc --force
 share/ggz/tictactoe.dsc
 @exec ggz-config -D --install --modfile=%D/share/ggz/tictactoe.dsc --force
-%%NLS%%share/locale/de/LC_MESSAGES/chess.mo
-%%NLS%%share/locale/de/LC_MESSAGES/chinese-checkers.mo
-%%NLS%%share/locale/de/LC_MESSAGES/combat.mo
-%%NLS%%share/locale/de/LC_MESSAGES/common.mo
-%%NLS%%share/locale/de/LC_MESSAGES/dots.mo
-%%NLS%%share/locale/de/LC_MESSAGES/ggzcards.mo
-%%NLS%%share/locale/de/LC_MESSAGES/hastings.mo
-%%NLS%%share/locale/de/LC_MESSAGES/reversi.mo
-%%NLS%%share/locale/de/LC_MESSAGES/spades.mo
-%%NLS%%share/locale/de/LC_MESSAGES/tictactoe.mo
-@dirrm share/ggz/tictactoe/pixmaps
-@dirrm share/ggz/tictactoe
-@dirrm share/ggz/reversi/pixmaps
-@dirrm share/ggz/reversi
-@dirrm share/ggz/pixmaps
-@dirrm share/ggz/hastings/pixmaps
-@dirrm share/ggz/hastings
-@dirrm share/ggz/combat/pixmaps/default
-@dirrm share/ggz/combat/pixmaps
-@dirrm share/ggz/combat/maps
-@dirrm share/ggz/combat
-@dirrm share/ggz/chess/pixmaps
-@dirrm share/ggz/chess
-@dirrm share/ggz/ccheckers/pixmaps/templates
-@dirrm share/ggz/ccheckers/pixmaps/default
-@dirrm share/ggz/ccheckers/pixmaps/Electric
-@dirrm share/ggz/ccheckers/pixmaps/Dragon
-@dirrm share/ggz/ccheckers/pixmaps
-@dirrm share/ggz/ccheckers
-@dirrmtry lib/ggz
+share/locale/de/LC_MESSAGES/chess.mo
+share/locale/de/LC_MESSAGES/chinese-checkers.mo
+share/locale/de/LC_MESSAGES/combat.mo
+share/locale/de/LC_MESSAGES/common.mo
+share/locale/de/LC_MESSAGES/dots.mo
+share/locale/de/LC_MESSAGES/ggzcards.mo
+share/locale/de/LC_MESSAGES/hastings.mo
+share/locale/de/LC_MESSAGES/reversi.mo
+share/locale/de/LC_MESSAGES/spades.mo
+share/locale/de/LC_MESSAGES/tictactoe.mo
+@unexec if [ "x`cat %D/etc/ggz.modules`" = "x[Games]" ]; then echo -n > %D/etc/ggz.modules; fi



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