blob: 7a97c58fdc0622b09aa5e1773ddce70d45bd440f (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21.ebuild,v 1.3 2005/11/18 16:01:30 leonardop Exp $
inherit sgml-catalog
DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files"
HOMEPAGE="http://packages.qa.debian.org/l/linuxdoc-tools.html"
SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz"
LICENSE="KenMacLeod SGMLUG"
SLOT="0"
KEYWORDS="~x86"
IUSE="tetex"
DEPEND="app-text/openjade
app-text/sgml-common
>=dev-lang/perl-5.004
sys-apps/gawk
!<app-text/sgmltools-lite-3.0.3-r10
!<app-text/tetex-3"
RDEPEND="${DEPEND}
tetex? ( >=app-text/tetex-3 )"
sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" \
"/usr/share/linuxdoc-tools/linuxdoc-tools.catalog"
src_compile() {
local myconf="--with-installed-iso-entities"
econf $myconf || die "./configure failed"
emake || die "Compilation failed"
}
src_install() {
eval `perl -V:installvendorarch`
einstall \
perl5libdir="${D}${installvendorarch}" \
LINUXDOCDOC="${D}/usr/share/doc/${PF}/guide" \
|| die "Installation failed"
dodoc ChangeLog README
}
|