summaryrefslogtreecommitdiff
blob: a15d7bdb797b6be3a0ba211a07e42224f9f60faf (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/opengl-manpages/opengl-manpages-20001215.ebuild,v 1.14 2006/07/19 14:34:46 gmsoft Exp $

DESCRIPTION="Man pages for OpenGL"
HOMEPAGE="http://www.opengl.org/documentation/specs/"
RESTRICT="mirror"
SRC_URI="ftp://ftp.sgi.com/opengl/doc/mangl.tar.Z \
	ftp://ftp.sgi.com/opengl/doc/manglu.tar.Z \
	ftp://ftp.sgi.com/opengl/doc/manglx.tar.Z"
S="${WORKDIR}/release/xc/doc/man/GL"

LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
	x11-misc/imake
	>=x11-misc/xorg-cf-files-1.0.1-r2"

src_compile() {
	for x in ${S}/*; do
		cd ${x}
		xmkmf || die "xmkmf failed"
		make || die "make failed"
	done
}

src_install() {
	for x in ${S}/*; do
		cd ${x}
		make DESTDIR="${D}" install || die "make install failed"
	done
	dohtml -r ${WORKDIR}/release/xc/doc/hardcopy/GL/html/*
}