summaryrefslogtreecommitdiffstats
path: root/mail/spruce/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-10 21:22:52 +0000
committerkrion <krion@FreeBSD.org>2004-07-10 21:22:52 +0000
commitb4ba04858d7ce840453d152970ba845396381a34 (patch)
tree6c99b7a7cf23003d0fdbf6f9c831848cb7829204 /mail/spruce/Makefile
parent5b9602b4ae4459cc60e5b35a41d990baab7902eb (diff)
downloadFreeBSD-ports-b4ba04858d7ce840453d152970ba845396381a34.zip
FreeBSD-ports-b4ba04858d7ce840453d152970ba845396381a34.tar.gz
Support WITHOUT_NLS
Diffstat (limited to 'mail/spruce/Makefile')
-rw-r--r--mail/spruce/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/spruce/Makefile b/mail/spruce/Makefile
index 26a0f5d..aa7dc0a 100644
--- a/mail/spruce/Makefile
+++ b/mail/spruce/Makefile
@@ -15,7 +15,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= erich@tacni.net
COMMENT= A simple GTK based email client
-USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gtk12
@@ -26,4 +25,12 @@ MAKE_ENV= OLD_PO_FILE_INPUT=1
MAN1= spruce.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>
OpenPOWER on IntegriCloud