svn commit: r373824 - head/games/ggz-txt-client

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Dec 3 13:39:01 UTC 2014


Author: amdmi3
Date: Wed Dec  3 13:39:00 2014
New Revision: 373824
URL: https://svnweb.freebsd.org/changeset/ports/373824
QAT: https://qat.redports.org/buildarchive/r373824/

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

Modified:
  head/games/ggz-txt-client/Makefile
  head/games/ggz-txt-client/pkg-plist

Modified: head/games/ggz-txt-client/Makefile
==============================================================================
--- head/games/ggz-txt-client/Makefile	Wed Dec  3 13:38:48 2014	(r373823)
+++ head/games/ggz-txt-client/Makefile	Wed Dec  3 13:39:00 2014	(r373824)
@@ -9,7 +9,7 @@ CATEGORIES=	games
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	The GGZ Gaming Zone - Console (Text) Frontend
 
-USES=		readline
+USES=		gettext readline
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debug
 USE_GGZ=	client
@@ -19,12 +19,6 @@ INSTALL_TARGET=	install-strip
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -pthread -lexpat
 
-OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=	yes
-
-NLS_USES=	gettext
-NLS_CONFIGURE_OFF=	--disable-nls
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = $$(LIB_GGZCORE)|' \
 		${WRKSRC}/tttxt/Makefile.in
@@ -32,6 +26,7 @@ post-patch:
 post-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/ggz
 	@${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/tttxt.dsc
+	${RM} ${STAGEDIR}${PREFIX}/etc/ggz.modules
 
 .include "${.CURDIR}/../libggz/bsd.ggz.mk"
 .include <bsd.port.mk>

Modified: head/games/ggz-txt-client/pkg-plist
==============================================================================
--- head/games/ggz-txt-client/pkg-plist	Wed Dec  3 13:38:48 2014	(r373823)
+++ head/games/ggz-txt-client/pkg-plist	Wed Dec  3 13:39:00 2014	(r373824)
@@ -5,6 +5,5 @@ share/applications/ggz-txt.desktop
 @unexec ggz-config -D --remove --modfile=%D/share/ggz/tttxt.dsc --force
 share/ggz/tttxt.dsc
 @exec ggz-config -D --install --modfile=%D/share/ggz/tttxt.dsc --force
-%%NLS%%share/locale/de/LC_MESSAGES/ggz-txt.mo
- at dirrmtry share/ggz
- at dirrmtry lib/ggz
+share/locale/de/LC_MESSAGES/ggz-txt.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