summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-06-14 08:58:45 +0000
committeritetcu <itetcu@FreeBSD.org>2006-06-14 08:58:45 +0000
commitf1e70a8e7e25b2479c1c843a0352e352dc6ab8bf (patch)
treeddf46bb12fbe3027c21cf06e8599ef9df5100a59 /games
parentdf0404ca445c366ce63f0a69671234fd30b980cb (diff)
downloadFreeBSD-ports-f1e70a8e7e25b2479c1c843a0352e352dc6ab8bf.zip
FreeBSD-ports-f1e70a8e7e25b2479c1c843a0352e352dc6ab8bf.tar.gz
- Mark BROKEN on 4.x
- Add USE_GETTEXT PR: ports/98881 Submitted by: maintainer
Diffstat (limited to 'games')
-rw-r--r--games/briquolo/Makefile16
-rw-r--r--games/briquolo/pkg-plist16
2 files changed, 23 insertions, 9 deletions
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if (${OSVERSION} < 500000)
+BROKEN= requires a newer libc (with wide character functions)
+.endif
+
+.include <bsd.port.post.mk>
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
OpenPOWER on IntegriCloud