aboutsummaryrefslogtreecommitdiff
path: root/editors/zoinks
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:03:33 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:03:33 +0000
commit037281d66e93469b2b0f6e355259f29176cd1f54 (patch)
treee7cdf38c8b6231db3a96703e7fdb501c53353f8d /editors/zoinks
parentc36c607e27a4de025f61c1b99b594cbae1cab37e (diff)
downloadports-037281d66e93469b2b0f6e355259f29176cd1f54.tar.gz
ports-037281d66e93469b2b0f6e355259f29176cd1f54.zip
Notes
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