diff options
author | jkim <jkim@FreeBSD.org> | 2011-08-27 03:17:09 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-08-27 03:17:09 +0800 |
commit | 013919d0e5df2138425f40e606d52557837c619a (patch) | |
tree | cac71a59279fcbe88400544db90ce80acdf7a19a /korean/nabi | |
parent | a7c70b684ebb9a81bf1e0ab30fa1021fc54bb8be (diff) | |
download | freebsd-ports-gnome-013919d0e5df2138425f40e606d52557837c619a.tar.gz freebsd-ports-gnome-013919d0e5df2138425f40e606d52557837c619a.tar.zst freebsd-ports-gnome-013919d0e5df2138425f40e606d52557837c619a.zip |
Honor WITHOUT_NLS and grab maintainership.
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 |