You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.3 KiB
53 lines
1.3 KiB
9 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
8 years ago
|
EAPI=6
|
||
9 years ago
|
|
||
8 years ago
|
inherit autotools
|
||
9 years ago
|
|
||
|
MY_P="${PN/-/}-${PV}"
|
||
|
|
||
|
DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
|
||
|
HOMEPAGE="http://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"
|
||
8 years ago
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||
9 years ago
|
IUSE=""
|
||
|
|
||
|
RDEPEND="virtual/man"
|
||
8 years ago
|
DEPEND="app-text/po4a"
|
||
9 years ago
|
|
||
8 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-1.3-bzip2.patch"
|
||
|
)
|
||
|
|
||
9 years ago
|
S=${WORKDIR}/${MY_P}
|
||
|
|
||
|
src_prepare() {
|
||
8 years ago
|
default
|
||
9 years ago
|
|
||
|
# 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/man{1,2,3,4,5,6,7,8}/Makefile.in po/common.mk || die
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_compile() { :; }
|
||
|
|
||
|
src_install() {
|
||
|
emake mandir="${ED}"/usr/share/man install
|
||
|
dodoc CHANGES README
|
||
|
}
|