| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-de/man-pages-de-0.8.ebuild,v 1.10 2012/06/21 15:18:40 hasufell Exp $
|
| 4 |
|
| 5 |
MY_PN=manpages-de
|
| 6 |
|
| 7 |
DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
|
| 8 |
HOMEPAGE="http://alioth.debian.org/projects/manpages-de/"
|
| 9 |
SRC_URI="http://manpages-de.alioth.debian.org/downloads/${MY_PN}-${PV}.tar.bz2"
|
| 10 |
|
| 11 |
LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
| 14 |
IUSE=""
|
| 15 |
|
| 16 |
DEPEND="dev-lang/perl"
|
| 17 |
RDEPEND="virtual/man"
|
| 18 |
|
| 19 |
S=${WORKDIR}/${MY_PN}-${PV}
|
| 20 |
|
| 21 |
src_compile() { :; }
|
| 22 |
|
| 23 |
src_install() {
|
| 24 |
emake MANDIR="${D}"/usr/share/man/de install || die
|
| 25 |
dodoc CHANGES README
|
| 26 |
|
| 27 |
# Remove man pages provided by other packages
|
| 28 |
# - shadow
|
| 29 |
rm "${D}"/usr/share/man/de/man1/{chsh,groups,login,passwd,newgrp,su}.1*
|
| 30 |
# - man
|
| 31 |
rm "${D}"/usr/share/man/de/man1/{apropos,man,whatis}.1*
|
| 32 |
# - man-db
|
| 33 |
rm "${D}"/usr/share/man/de/man1/{manpath,zsoelim}.1*
|
| 34 |
rm "${D}"/usr/share/man/de/man5/manpath.5*
|
| 35 |
rm "${D}"/usr/share/man/de/man8/{catman,mandb}.8*
|
| 36 |
}
|