diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-12-18 19:13:06 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-12-18 19:13:06 +0100 |
commit | b82dc1f88361126a42a35ff5b6fe526c48d75497 (patch) | |
tree | e0b83b182ec26f4f719eab233eb16bc05d1ed6ca /app-i18n/man-pages-de/man-pages-de-2.3.ebuild | |
parent | games-engines/scummvm-tools: Removed old. (diff) | |
download | gentoo-b82dc1f88361126a42a35ff5b6fe526c48d75497.tar.gz gentoo-b82dc1f88361126a42a35ff5b6fe526c48d75497.tar.bz2 gentoo-b82dc1f88361126a42a35ff5b6fe526c48d75497.zip |
app-i18n/man-pages-de: Version bump to 2.3 (on behalf of Markus Oehme)
Closes: https://bugs.gentoo.org/641064
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-i18n/man-pages-de/man-pages-de-2.3.ebuild')
-rw-r--r-- | app-i18n/man-pages-de/man-pages-de-2.3.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-i18n/man-pages-de/man-pages-de-2.3.ebuild b/app-i18n/man-pages-de/man-pages-de-2.3.ebuild new file mode 100644 index 000000000000..6698d74db09e --- /dev/null +++ b/app-i18n/man-pages-de/man-pages-de-2.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +MY_P="${PN/-/}-${PV}" + +DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations" +HOMEPAGE="https://alioth.debian.org/projects/manpages-de/" +SRC_URI="http://manpages-de.alioth.debian.org/downloads/${MY_P}.tar.xz" + +LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="virtual/man" +DEPEND="app-text/po4a" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + # sys-apps/shadow has it's own translated man-page for this + rm upstream/primary/man1/groups.1 po/primary/man1/groups.1.po || die + + # Use the same compression as every other manpage + local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2} + if [[ ${PORTAGE_COMPRESS+set} == "set" ]] ; then + PORTAGE_COMPRESS_LOCAL="#" + fi + if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then + case ${PORTAGE_COMPRESS_LOCAL} in + bzip2|gzip) local PORTAGE_COMPRESS_FLAGS_LOCAL="-9" + ;; + esac + fi + sed -i -e "s/gzip --best/${PORTAGE_COMPRESS_LOCAL} ${PORTAGE_COMPRESS_FLAGS_LOCAL}/"\ + po/Makefile.in || die + eautoreconf +} + +src_compile() { :; } + +src_install() { + emake mandir="${ED}"/usr/share/man install + dodoc CHANGES.md README.md +} |