diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2011-08-26 19:17:09 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2011-08-26 19:17:09 +0000 |
commit | e1abe28b00bd0aa8d4a94ace6fc999c5216a44ea (patch) | |
tree | fae3cc6898c41f3d2c06f21932cf278bb6a125c8 /korean/nabi | |
parent | 0a6432e53014b87eb2686156a34ca471fa2ea258 (diff) | |
download | ports-e1abe28b00bd0aa8d4a94ace6fc999c5216a44ea.tar.gz ports-e1abe28b00bd0aa8d4a94ace6fc999c5216a44ea.zip |
Notes
Diffstat (limited to 'korean/nabi')
-rw-r--r-- | korean/nabi/Makefile | 13 | ||||
-rw-r--r-- | korean/nabi/pkg-plist | 4 |
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 |