summaryrefslogtreecommitdiff
blob: d896e03a16643c26879a7ae1715581d85183f811 (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
49
# 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.31.ebuild,v 1.3 2000/12/13 11:37:56 achim Exp $

P=man-pages-1.31
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/man-pages-1.31.tar.gz
	 ftp://ftp.de.kernel.org/pub/linux/docs/manpages/man-pages-1.31.tar.gz
	 ftp://ftp.uk.kernel.org/pub/linux/docs/manpages/man-pages-1.31.tar.gz 
	 ftp://ftp.suse.com/pub/people/ak/netman/netman-20000610.tgz"

DEPEND=""

src_compile() {                           
   echo
}

src_unpack() {
    unpack ${P}.tar.gz
    cd ${S}
    unpack netman-20000610.tgz
    tar xzf ${O}/files/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
}