mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
sys-apps/groff: Migrate from LINGUAS to L10N.
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -9,12 +9,12 @@ inherit autotools eutils toolchain-funcs
|
||||
DESCRIPTION="Text formatter used for man pages"
|
||||
HOMEPAGE="https://www.gnu.org/software/groff/groff.html"
|
||||
SRC_URI="mirror://gnu/groff/${P}.tar.gz
|
||||
linguas_ja? ( https://dev.gentoo.org/~naota/patch/${PN}-1.22.1-japanese.patch.bz2 )"
|
||||
l10n_ja? ( https://dev.gentoo.org/~naota/patch/${PN}-1.22.1-japanese.patch.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples X linguas_ja"
|
||||
IUSE="examples X l10n_ja"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
@@ -26,7 +26,7 @@ RDEPEND="
|
||||
x11-libs/libICE
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
linguas_ja? ( virtual/yacc )"
|
||||
l10n_ja? ( virtual/yacc )"
|
||||
|
||||
DOCS=( BUG-REPORT ChangeLog MORE.STUFF NEWS PROBLEMS PROJECTS README REVISION TODO VERSION )
|
||||
|
||||
@@ -53,7 +53,7 @@ src_prepare() {
|
||||
.ds default-operating-system Gentoo${pfx}/${KERNEL}
|
||||
EOF
|
||||
|
||||
if use linguas_ja ; then
|
||||
if use l10n_ja ; then
|
||||
epatch "${WORKDIR}"/${PN}-1.22.1-japanese.patch #255292 #350534 #450796
|
||||
eautoconf
|
||||
eautoheader
|
||||
@@ -69,7 +69,7 @@ src_configure() {
|
||||
--with-appresdir="${EPREFIX}"/usr/share/X11/app-defaults \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
$(use_with X x) \
|
||||
$(usex linguas_ja '--enable-japanese' '')
|
||||
$(usex l10n_ja '--enable-japanese' '')
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user