diff options
Diffstat (limited to 'comms/gnokii')
-rw-r--r-- | comms/gnokii/Makefile | 9 | ||||
-rw-r--r-- | comms/gnokii/pkg-plist | 20 |
2 files changed, 18 insertions, 11 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 |