aboutsummaryrefslogtreecommitdiff
path: root/korean/nabi
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2011-08-26 19:17:09 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2011-08-26 19:17:09 +0000
commite1abe28b00bd0aa8d4a94ace6fc999c5216a44ea (patch)
treefae3cc6898c41f3d2c06f21932cf278bb6a125c8 /korean/nabi
parent0a6432e53014b87eb2686156a34ca471fa2ea258 (diff)
downloadports-e1abe28b00bd0aa8d4a94ace6fc999c5216a44ea.tar.gz
ports-e1abe28b00bd0aa8d4a94ace6fc999c5216a44ea.zip
Notes
Diffstat (limited to 'korean/nabi')
-rw-r--r--korean/nabi/Makefile13
-rw-r--r--korean/nabi/pkg-plist4
2 files changed, 12 insertions, 5 deletions
diff --git a/korean/nabi/Makefile b/korean/nabi/Makefile
index 68e49ed296b8..de979f94a342 100644
--- a/korean/nabi/Makefile
+++ b/korean/nabi/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= 0.99.9
CATEGORIES= korean gnome
MASTER_SITES= http://kldp.net/frs/download.php/5926/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jkim@FreeBSD.org
COMMENT= Hangul X Input Method for Everywhere
LICENSE= GPLv2
@@ -20,8 +20,15 @@ LIB_DEPENDS= hangul.1:${PORTSDIR}/korean/libhangul
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtk20
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
-CPPFLAGS= "-I${LOCALBASE}/include"
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
+ CPPFLAGS="-I${LOCALBASE}/include"
+PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+.endif
.if defined(WITH_LAYOUT_390)
CONFIGURE_ARGS= --with-default-keyboard=39
diff --git a/korean/nabi/pkg-plist b/korean/nabi/pkg-plist
index fab98d885bb7..df80021b31e0 100644
--- a/korean/nabi/pkg-plist
+++ b/korean/nabi/pkg-plist
@@ -42,8 +42,8 @@ bin/nabi
%%DATADIR%%/themes/ubuntu-mono-light/english.png
%%DATADIR%%/themes/ubuntu-mono-light/hangul.png
%%DATADIR%%/themes/ubuntu-mono-light/none.png
-share/locale/de/LC_MESSAGES/nabi.mo
-share/locale/ko/LC_MESSAGES/nabi.mo
+%%NLS%%share/locale/de/LC_MESSAGES/nabi.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/nabi.mo
@dirrm %%DATADIR%%/themes/ubuntu-mono-light
@dirrm %%DATADIR%%/themes/ubuntu-mono-dark
@dirrm %%DATADIR%%/themes/keyboard