summaryrefslogtreecommitdiff
blob: dd39f595018dabfbfe641c111409c4b5656b1ff0 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.6.1.ebuild,v 1.23 2005/01/01 16:09:11 eradicator Exp $

S=${WORKDIR}/${PN}
DESCRIPTION="Tools to convert docbook to man and info"
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
HOMEPAGE="http://docbook2x.sourceforge.net"

SLOT="0"
KEYWORDS="x86 ppc sparc"
IUSE=""
LICENSE="GPL-2"

DEPEND=""

RDEPEND=">=dev-perl/XML-Writer-0.4
	>=dev-perl/XML-XSLT-0.31
	>=dev-perl/SGMLSpm-1.03"
	#>=dev-libs/libxslt-0.5.0"

src_install () {

	insinto /usr/lib/perl5/site_perl/5.6.1/XML/DOM
	doins XML/DOM/Map.pm
	insinto /usr/lib/perl5/site_perl/5.6.1/XML
	doins XML/SGMLSpl.pm
	insinto /usr/share/sgml/docbook/db2X-customization/common
	doins xslt/common/*
	insinto /usr/share/sgml/docbook/db2X-customization/lib
	doins xslt/lib/*
	insinto /usr/share/sgml/docbook/db2X-customization/texi
	doins xslt/texi/*
	insinto /usr/share/sgml/docbook/db2X-customization/dtd
	doins dtd/Texi-XML
	exeinto /usr/bin
	doexe docbook2man docbook2manxml docbook2texi docbook2texixml
	doexe docbook2man-spec.pl docbook2texi-spec.pl texi_xml man_xml
	doexe manpage_makelinks.pl
}