diff options
-rw-r--r-- | comms/gnokii/Makefile | 9 | ||||
-rw-r--r-- | comms/gnokii/pkg-plist | 20 | ||||
-rw-r--r-- | games/gtypist/Makefile | 9 | ||||
-rw-r--r-- | games/gtypist/pkg-plist | 14 |
4 files changed, 33 insertions, 19 deletions
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile index a4293d0d0089..b324374e071e 100644 --- a/comms/gnokii/Makefile +++ b/comms/gnokii/Makefile @@ -18,7 +18,6 @@ MAINTAINER= mad@madpilot.net COMMENT= Tools to talk to GSM cellular phones USE_REINPLACE= yes -USE_GETTEXT= yes USE_GMAKE= yes USE_BZIP2= yes INSTALLS_SHLIB= yes @@ -82,6 +81,14 @@ PLIST_SUB+= X11='' MAN1+= xgnokii.1 .endif +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + pre-fetch: @${ECHO} @${ECHO} "If you plan using the smsd daemon for automatically receiving," diff --git a/comms/gnokii/pkg-plist b/comms/gnokii/pkg-plist index 69b36c605ed3..ec1990e14ba7 100644 --- a/comms/gnokii/pkg-plist +++ b/comms/gnokii/pkg-plist @@ -78,16 +78,16 @@ sbin/mgnokiidev %%PORTDOCS%%@dirrm %%DOCSDIR%%/sample %%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTDOCS%%@exec mkdir -m 755 %D/%%DOCSDIR%%/sample/vCard -share/locale/cs/LC_MESSAGES/gnokii.mo -share/locale/de/LC_MESSAGES/gnokii.mo -share/locale/et/LC_MESSAGES/gnokii.mo -share/locale/fi/LC_MESSAGES/gnokii.mo -share/locale/fr/LC_MESSAGES/gnokii.mo -share/locale/it/LC_MESSAGES/gnokii.mo -share/locale/nl/LC_MESSAGES/gnokii.mo -share/locale/pl/LC_MESSAGES/gnokii.mo -share/locale/sk/LC_MESSAGES/gnokii.mo -share/locale/sl/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/cs/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/de/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/et/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/fi/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/it/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/nl/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/pl/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/sk/LC_MESSAGES/gnokii.mo +%%NLS%%share/locale/sl/LC_MESSAGES/gnokii.mo %%SMSD%%share/smsd/README %%SMSD%%share/smsd/action %%SMSD%%lib/smsd/libfile.a diff --git a/games/gtypist/Makefile b/games/gtypist/Makefile index ebe0202a570a..bcc03f5ba346 100644 --- a/games/gtypist/Makefile +++ b/games/gtypist/Makefile @@ -15,7 +15,6 @@ MAINTAINER= naddy@FreeBSD.org COMMENT= Interactive typing tutor USE_BZIP2= yes -USE_GETTEXT= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ @@ -25,4 +24,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ INFO= gtypist MAN1= gtypist.1 typefortune.1 +.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/gtypist/pkg-plist b/games/gtypist/pkg-plist index 43f4a0afc736..03985868a61a 100644 --- a/games/gtypist/pkg-plist +++ b/games/gtypist/pkg-plist @@ -25,11 +25,11 @@ share/gtypist/t.typ share/gtypist/ttde.typ share/gtypist/u.typ share/gtypist/v.typ -share/locale/cs/LC_MESSAGES/gtypist.mo -share/locale/de/LC_MESSAGES/gtypist.mo -share/locale/es/LC_MESSAGES/gtypist.mo -share/locale/fi/LC_MESSAGES/gtypist.mo -share/locale/fr/LC_MESSAGES/gtypist.mo -share/locale/ru/LC_MESSAGES/gtypist.mo -share/locale/zh_TW/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/cs/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/de/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/es/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/fi/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/ru/LC_MESSAGES/gtypist.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/gtypist.mo @dirrm share/gtypist |