diff options
-rw-r--r-- | games/briquolo/Makefile | 16 | ||||
-rw-r--r-- | games/briquolo/pkg-plist | 16 |
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 |