Skip to content

Commit

Permalink
app-i18n/nkf: Migrate from LINGUAS to L10N.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
ulm committed Jun 25, 2016
1 parent 2b4e2ca commit 3102634
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions app-i18n/nkf/nkf-2.1.3-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand All @@ -9,21 +9,21 @@ inherit eutils distutils-r1 perl-module toolchain-funcs
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 '/^CFLAGS/{s|-g -O2||;s|=|+=|;}' \
-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

Expand Down Expand Up @@ -57,7 +57,7 @@ src_install() {
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
Expand Down
6 changes: 3 additions & 3 deletions app-i18n/nkf/nkf-2.1.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand All @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge.jp/nkf/59912/${P}.tar.gz
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 \
Expand Down Expand Up @@ -52,7 +52,7 @@ src_install() {
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
Expand Down

0 comments on commit 3102634

Please sign in to comment.