aboutsummaryrefslogtreecommitdiffstats
path: root/editors/zoinks
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-11 18:03:33 +0800
committerkrion <krion@FreeBSD.org>2004-07-11 18:03:33 +0800
commitac59888e93c4d90dd05eb499b89a9c16583e9e9b (patch)
treed5e9dcea6bdc8465ae4100b8b832d030b5544d1e /editors/zoinks
parent29d08fe63964f76ba0aa6bcc6370342f0efb1a1c (diff)
downloadfreebsd-ports-gnome-ac59888e93c4d90dd05eb499b89a9c16583e9e9b.tar.gz
freebsd-ports-gnome-ac59888e93c4d90dd05eb499b89a9c16583e9e9b.tar.zst
freebsd-ports-gnome-ac59888e93c4d90dd05eb499b89a9c16583e9e9b.zip
Support WITHOUT_NLS
Diffstat (limited to 'editors/zoinks')
-rw-r--r--editors/zoinks/Makefile9
-rw-r--r--editors/zoinks/pkg-plist2
2 files changed, 9 insertions, 2 deletions
diff --git a/editors/zoinks/Makefile b/editors/zoinks/Makefile
index 3491373ecbc2..187efd105d68 100644
--- a/editors/zoinks/Makefile
+++ b/editors/zoinks/Makefile
@@ -15,7 +15,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= mike@mikelockwood.com
COMMENT= An X11 programmer's editor and development environment
-USE_GETTEXT= yes
.if defined(WITH_IMLIB)
USE_GNOME= imlib
CONFIGURE_ARGS+= --enable-imlib
@@ -23,6 +22,14 @@ CONFIGURE_ARGS+= --enable-imlib
CONFIGURE_ARGS+= --disable-imlib
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
USE_XPM= yes
GNU_CONFIGURE= yes
diff --git a/editors/zoinks/pkg-plist b/editors/zoinks/pkg-plist
index 00e5a5dcdf19..07f2c04e3eff 100644
--- a/editors/zoinks/pkg-plist
+++ b/editors/zoinks/pkg-plist
@@ -1,2 +1,2 @@
bin/zoinks
-share/locale/ja/LC_MESSAGES/zoinks.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/zoinks.mo