-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
HOMEPAGE="http://sourceforge.jp/projects/nkf/"
SRC_URI="mirror://sourceforge.jp/nkf/59912/${P}.tar.gz
- linguas_ja? ( https://dev.gentoo.org/~naota/files/nkf.1j )
+ l10n_ja? ( https://dev.gentoo.org/~naota/files/nkf.1j )
python? ( https://dev.gentoo.org/~naota/files/NKF_python20090602.tgz )"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-macos"
-IUSE="perl python linguas_ja"
+IUSE="perl python l10n_ja"
src_prepare() {
sed -i \
-e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
Makefile || die
- if use linguas_ja; then
+ if use l10n_ja; then
cp "${DISTDIR}"/nkf.1j "${S}" || die
fi
dobin nkf || die
doman nkf.1
- if use linguas_ja; then
+ if use l10n_ja; then
./nkf -e nkf.1j > nkf.1
doman -i18n=ja nkf.1
fi
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-macos"
-IUSE="perl python linguas_ja"
+IUSE="perl python l10n_ja"
src_prepare() {
sed -i \
dobin nkf || die
doman nkf.1
- if use linguas_ja; then
+ if use l10n_ja; then
./nkf -e nkf.1j > nkf.1
doman -i18n=ja nkf.1
fi