diff options
author | krion <krion@FreeBSD.org> | 2004-07-11 18:03:33 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-11 18:03:33 +0800 |
commit | ac59888e93c4d90dd05eb499b89a9c16583e9e9b (patch) | |
tree | d5e9dcea6bdc8465ae4100b8b832d030b5544d1e /editors/zoinks | |
parent | 29d08fe63964f76ba0aa6bcc6370342f0efb1a1c (diff) | |
download | freebsd-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/Makefile | 9 | ||||
-rw-r--r-- | editors/zoinks/pkg-plist | 2 |
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 |