diff options
author | krion <krion@FreeBSD.org> | 2004-07-11 18:22:46 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-11 18:22:46 +0800 |
commit | 1b3d4f7a6c80d42d506b4abc7d71c9369dade07f (patch) | |
tree | d7aa4d4e1f667f54768a00779e1087d5d3514e76 /games/lincity | |
parent | ac59888e93c4d90dd05eb499b89a9c16583e9e9b (diff) | |
download | freebsd-ports-gnome-1b3d4f7a6c80d42d506b4abc7d71c9369dade07f.tar.gz freebsd-ports-gnome-1b3d4f7a6c80d42d506b4abc7d71c9369dade07f.tar.zst freebsd-ports-gnome-1b3d4f7a6c80d42d506b4abc7d71c9369dade07f.zip |
Support WITHOUT_NLS
Diffstat (limited to 'games/lincity')
-rw-r--r-- | games/lincity/Makefile | 9 | ||||
-rw-r--r-- | games/lincity/pkg-plist | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/games/lincity/Makefile b/games/lincity/Makefile index e1c26e6c7b3f..a25a6c304d0c 100644 --- a/games/lincity/Makefile +++ b/games/lincity/Makefile @@ -15,7 +15,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Rich city simulation game for X -USE_GETTEXT= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} @@ -34,4 +33,12 @@ CONFIGURE_ARGS+= --without-svga PLIST_SUB= PROG="bin/xlincity" .endif +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include <bsd.port.mk> diff --git a/games/lincity/pkg-plist b/games/lincity/pkg-plist index ef85c2f23ab4..e2fdf8b8368c 100644 --- a/games/lincity/pkg-plist +++ b/games/lincity/pkg-plist @@ -528,8 +528,8 @@ share/lincity/opening/text2 share/lincity/opening/text3 share/lincity/opening/winfont_16x16.fnt share/lincity/opening/winfont_8x8.fnt -share/locale/ca/LC_MESSAGES/lincity.mo -share/locale/it/LC_MESSAGES/lincity.mo +%%NLS%%share/locale/ca/LC_MESSAGES/lincity.mo +%%NLS%%share/locale/it/LC_MESSAGES/lincity.mo @dirrm share/lincity/opening @dirrm share/lincity/messages @dirrm share/lincity/icons |