diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-03-20 11:48:07 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-03-20 13:35:46 +0100 |
commit | f80348d830c30e27ae2facd880ca1c2e422e8643 (patch) | |
tree | b4ab225f927ef2fef109a769e7ae2356cd8d425b /app-i18n/man-pages-l10n | |
parent | dev-cpp/yaml-cpp: Fix CVE-2017-11692 (diff) | |
download | gentoo-f80348d830c30e27ae2facd880ca1c2e422e8643.tar.gz gentoo-f80348d830c30e27ae2facd880ca1c2e422e8643.tar.bz2 gentoo-f80348d830c30e27ae2facd880ca1c2e422e8643.zip |
app-i18n/man-pages-l10n: Initial import.
This replaces man-pages-{de,fr,pl} which have been merged upstream,
as well as man-pages-nl which is dead upstream (last release in 2001,
homepage is gone).
Ebuild copied from man-pages-de-2.16.ebuild and heavily modified.
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-i18n/man-pages-l10n')
-rw-r--r-- | app-i18n/man-pages-l10n/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild | 66 | ||||
-rw-r--r-- | app-i18n/man-pages-l10n/metadata.xml | 8 |
3 files changed, 75 insertions, 0 deletions
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest new file mode 100644 index 000000000000..97c19d4fbebe --- /dev/null +++ b/app-i18n/man-pages-l10n/Manifest @@ -0,0 +1 @@ +DIST manpages-l10n-v4.0.0.tar.bz2 34796889 BLAKE2B 6413278ab2c9482ffdd2cf6ef1f4c6e05f2f1d7be8c8d556cb137ca4c5c2d6297f9547725f3afcf8023478c05e41d99d595a0b5a44da0d0188ed0287c630e5b6 SHA512 9c83363ffaa9ff9015934869623958594e64f1cbb52367dd8274425a5cb45dac06109d231fd7f165eb35248b4229f3bbf252a6a4630e7d5a47edbf41d4a646a9 diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild new file mode 100644 index 000000000000..72957af67eae --- /dev/null +++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="${PN/-}-v${PV}" +DESCRIPTION="A somewhat comprehensive collection of man page translations" +HOMEPAGE="https://manpages-l10n-team.pages.debian.net/manpages-l10n/" +SRC_URI="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v${PV}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +# omit pt-BR and ro for now, because they each install only two man pages +MY_L10N=(de fr nl pl) +IUSE="${MY_L10N[@]/#/l10n_}" +REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )" + +RDEPEND="virtual/man + l10n_de? ( !app-i18n/man-pages-de ) + l10n_fr? ( !app-i18n/man-pages-fr ) + l10n_nl? ( !app-i18n/man-pages-nl ) + l10n_pl? ( !app-i18n/man-pages-pl )" + +BDEPEND="app-text/po4a + dev-lang/perl" + +DOCS=(AUTHORS.md CHANGES.md README.md) + +src_prepare() { + echo "*** IUSE=${IUSE}" + echo "*** REQUIRED_USE=${REQUIRED_USE}" + default + sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die + + # some packages have their own translations + local noinst_manpages=( + # app-arch/xz-utils + de/xz.1 + de/xzdiff.1 + de/xzgrep.1 + de/xzless.1 + de/xzmore.1 + # sys-apps/shadow + {de,pl}/groups.1 + de/su.1 + # sys-process/procps + {de,pl}/free.1 + {de,fr}/pgrep.1 + {de,fr}/pmap.1 + {de,fr}/pwdx.1 + {de,fr}/tload.1 + {de,fr,pl}/uptime.1 + {de,fr}/sysctl.conf.5 + {de,fr}/sysctl.8 + {de,fr}/vmstat.8 + ) + printf '%s\n' "${noinst_manpages[@]}" \ + | sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm + assert +} + +src_configure() { + econf --enable-compression=none +} diff --git a/app-i18n/man-pages-l10n/metadata.xml b/app-i18n/man-pages-l10n/metadata.xml new file mode 100644 index 000000000000..7fccbc10bd18 --- /dev/null +++ b/app-i18n/man-pages-l10n/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>ulm@gentoo.org</email> +</maintainer> +<stabilize-allarches/> +</pkgmetadata> |