summaryrefslogtreecommitdiff
blob: f3e7beedcf176b1d3ef5b4b6394055eab42ed352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-cs/man-pages-cs-0.16-r1.ebuild,v 1.2 2006/06/21 17:24:45 vapier Exp $

DESCRIPTION="A somewhat comprehensive collection of Linux czech man page translations"
HOMEPAGE="http://www.win.tue.nl/~aeb/linux/man/"
SRC_URI="ftp://ftp.win.tue.nl/pub/linux-local/manpages/translations/${P}.tar.gz"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""

RDEPEND="virtual/man"

src_compile() { :; }

src_install() {
	make MANDIR="${D}"/usr/share/man/cs install || die
	dodoc CONTRIB README*

	# remove man pages that are provided by other packages.
	# - sys-apps/shadow +nls
	rm -f ${D}/usr/share/man/cs/man1/{chfn,chsh,newgrp,su,passwd,groups}.1
	rm -f ${D}/usr/share/man/cs/man5/shadow.5
	rm -f ${D}/usr/share/man/cs/man8/{lastlog,vigr,vipw}.8
}