From f1e70a8e7e25b2479c1c843a0352e352dc6ab8bf Mon Sep 17 00:00:00 2001 From: itetcu Date: Wed, 14 Jun 2006 08:58:45 +0000 Subject: - Mark BROKEN on 4.x - Add USE_GETTEXT PR: ports/98881 Submitted by: maintainer --- games/briquolo/Makefile | 16 +++++++++++++++- games/briquolo/pkg-plist | 16 ++++++++-------- 2 files changed, 23 insertions(+), 9 deletions(-) (limited to 'games') diff --git a/games/briquolo/Makefile b/games/briquolo/Makefile index c9f55c6..6ec1f86 100644 --- a/games/briquolo/Makefile +++ b/games/briquolo/Makefile @@ -29,6 +29,14 @@ PLIST_SUB= VERSION="${PORTVERSION}" CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib +#.if defined(WITHOUT_NLS) +#CONFIGURE_ARGS+= --disable-nls +#PLIST_SUB+= NLS="@comment " +#.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +#.endif + post-patch: @${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/configure @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ @@ -37,4 +45,10 @@ post-patch: pre-install: ${MKDIR} ${PREFIX}/share/applications -.include +.include + +.if (${OSVERSION} < 500000) +BROKEN= requires a newer libc (with wide character functions) +.endif + +.include diff --git a/games/briquolo/pkg-plist b/games/briquolo/pkg-plist index 5be0214..7890600 100644 --- a/games/briquolo/pkg-plist +++ b/games/briquolo/pkg-plist @@ -98,14 +98,14 @@ bin/briquolo %%DATADIR%%/tableau/old/016.tab %%DATADIR%%/tableau/old/description share/pixmaps/briquolo.svg -share/locale/fr/LC_MESSAGES/briquolo.mo -share/locale/nl/LC_MESSAGES/briquolo.mo -share/locale/de/LC_MESSAGES/briquolo.mo -share/locale/ru/LC_MESSAGES/briquolo.mo -share/locale/be/LC_MESSAGES/briquolo.mo -share/locale/pl/LC_MESSAGES/briquolo.mo -share/locale/pt/LC_MESSAGES/briquolo.mo -share/locale/sk/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/fr/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/nl/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/de/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/ru/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/be/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/pl/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/pt/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/sk/LC_MESSAGES/briquolo.mo @dirrm %%DATADIR%%/tableau/old @dirrm %%DATADIR%%/tableau/new @dirrm %%DATADIR%%/tableau -- cgit v1.1