aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:55:23 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:55:23 +0000
commit906d8c992c7e5b5b50882538d64e0175065c5f4b (patch)
tree68c33efb9b19fbcb375416b37aeb2d8ca322fba5 /comms
parent5c673d837f069533db85b62427c220dc40e6e16b (diff)
downloadports-906d8c992c7e5b5b50882538d64e0175065c5f4b.tar.gz
ports-906d8c992c7e5b5b50882538d64e0175065c5f4b.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/gnokii/Makefile9
-rw-r--r--comms/gnokii/pkg-plist20
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