aboutsummaryrefslogtreecommitdiff
path: root/mail/elmo-devel
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-08-07 13:35:49 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-08-07 13:35:49 +0000
commitaac2bb9591be71b07e70133747bb76675da114be (patch)
tree6ee6dc8d61e2cd88b57c725d050c12686c15987a /mail/elmo-devel
parent234279ebc19645645bb962493362607526ab631d (diff)
downloadports-aac2bb9591be71b07e70133747bb76675da114be.tar.gz
ports-aac2bb9591be71b07e70133747bb76675da114be.zip
Notes
Diffstat (limited to 'mail/elmo-devel')
-rw-r--r--mail/elmo-devel/Makefile9
-rw-r--r--mail/elmo-devel/pkg-plist6
2 files changed, 12 insertions, 3 deletions
diff --git a/mail/elmo-devel/Makefile b/mail/elmo-devel/Makefile
index 00625d73514c..a026c8606ff2 100644
--- a/mail/elmo-devel/Makefile
+++ b/mail/elmo-devel/Makefile
@@ -18,7 +18,6 @@ COMMENT= Receive, filter, read, compose and send mail at the text console
CONFLICTS= elmo-[0-9]*
GNU_CONFIGURE= yes
-USE_GETTEXT= yes
USE_ICONV= yes
USE_OPENSSL= yes
USE_PERL5_RUN= yes
@@ -30,6 +29,14 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
MAN1= elmo.1 elmoconf.pl.1
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+PLIST_SUB+= NLS=""
+USE_GETTEXT= yes
+.endif
+
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libgpgme03.so) || defined(WITH_GPGME)
diff --git a/mail/elmo-devel/pkg-plist b/mail/elmo-devel/pkg-plist
index a06a458bfcfb..40f933de938b 100644
--- a/mail/elmo-devel/pkg-plist
+++ b/mail/elmo-devel/pkg-plist
@@ -5,7 +5,9 @@ bin/elmoconf.pl
%%DATADIR%%/themes/README
%%DATADIR%%/themes/outlook
%%DATADIR%%/tutorial
-share/locale/de/LC_MESSAGES/elmo.mo
-share/locale/pl/LC_MESSAGES/elmo.mo
+%%NLS%%share/locale/de/LC_MESSAGES/elmo.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/elmo.mo
+%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/pl
@dirrm %%DATADIR%%/themes
@dirrm %%DATADIR%%