svn commit: r373823 - head/games/ggz-gtk-games
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Dec 3 13:38:50 UTC 2014
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
- at dirrm share/ggz/tictactoe/pixmaps
- at dirrm share/ggz/tictactoe
- at dirrm share/ggz/reversi/pixmaps
- at dirrm share/ggz/reversi
- at dirrm share/ggz/pixmaps
- at dirrm share/ggz/hastings/pixmaps
- at dirrm share/ggz/hastings
- at dirrm share/ggz/combat/pixmaps/default
- at dirrm share/ggz/combat/pixmaps
- at dirrm share/ggz/combat/maps
- at dirrm share/ggz/combat
- at dirrm share/ggz/chess/pixmaps
- at dirrm share/ggz/chess
- at dirrm share/ggz/ccheckers/pixmaps/templates
- at dirrm share/ggz/ccheckers/pixmaps/default
- at dirrm share/ggz/ccheckers/pixmaps/Electric
- at dirrm share/ggz/ccheckers/pixmaps/Dragon
- at dirrm share/ggz/ccheckers/pixmaps
- at dirrm share/ggz/ccheckers
- at 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
+ at unexec if [ "x`cat %D/etc/ggz.modules`" = "x[Games]" ]; then echo -n > %D/etc/ggz.modules; fi
More information about the svn-ports-head
mailing list