diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-06-14 08:58:45 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-06-14 08:58:45 +0000 |
commit | d3fc58751114b9356846cf3f2dec357fe2b7192d (patch) | |
tree | 827bd55cf6a9106aeb17122810068a5777b91b85 /games/briquolo | |
parent | 4469f7b23f5435dd59a67f3819d72da9cec216e1 (diff) | |
download | ports-d3fc58751114b9356846cf3f2dec357fe2b7192d.tar.gz ports-d3fc58751114b9356846cf3f2dec357fe2b7192d.zip |
Notes
Diffstat (limited to 'games/briquolo')
-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 c9f55c6b0b3a..6ec1f8610f77 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 5be0214c9e3e..7890600f39d6 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 |