summaryrefslogtreecommitdiff
blob: edd2c2cfeb1954a517aae6163f039153a372df32 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/man-pages-1.34.ebuild,v 1.2 2001/04/06 18:45:25 drobbins Exp $

A="${P}.tar.gz netman-20000610.tgz"
S=${WORKDIR}/${P}
DESCRIPTION="A somewhat comprehensive collection of Linux man pages"

SRC_URI="ftp://ftp.kernel.org/pub/linux/docs/manpages/${P}.tar.gz
	 ftp://ftp.de.kernel.org/pub/linux/docs/manpages/${P}.tar.gz
	 ftp://ftp.uk.kernel.org/pub/linux/docs/manpages/${P}.tar.gz
	 ftp://ftp.suse.com/pub/people/ak/netman/netman-20000610.tgz"

RDEPEND="sys-apps/man"


src_unpack() {

    unpack ${P}.tar.gz
    cd ${S}
    unpack netman-20000610.tgz
    tar xzf ${FILESDIR}/man2.tar.gz
    for x in 2 3 7
    do
	mv netman/*.$x man$x
    done

}

src_install() {

	for x in 1 2 3 4 5 6 7 8
	do
		doman man$x/*.[1-9]
	done
	dodoc man-pages-1.31.Announce README
	docinto netman
	dodoc netman/FIXME netman/README
}