blob: 72ff3e4c2c85e06a47f48c6a0cc9b34f9ddaebb3 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Tools Team <tools@gentoo.org>
# Author: Achim Gottinger <achim@gentoo.org>
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r2.ebuild,v 1.1 2002/03/14 00:20:54 karltk Exp $
A="docbkx412.zip"
S=${WORKDIR}/${P}
DESCRIPTION="Docbook DTD for XML"
SRC_URI="http://www.oasis-open.org/docbook/xml/${PV}/${A}"
HOMEPAGE="http://www.oasis-open.org/docbook/"
DEPEND=">=app-arch/unzip-5.41
>=dev-libs/libxml2-2.4
>=app-text/docbook-xsl-stylesheets-1.45"
RDEPEND=""
src_unpack() {
mkdir ${S}
cd ${S}
unpack ${A}
}
src_install() {
newbin ${FILESDIR}/build-docbook-catalog-${PV} build-docbook-catalog
dodir /etc/xml
touch ${D}/etc/xml/.keep
insinto /usr/share/xml/docbook/xml-dtd-${PV}
doins *.dtd *.mod
doins docbook.cat
insinto /usr/share/xml/docbook/xml-dtd-${PV}/ent
doins ent/*.ent
dodoc ChangeLog *.txt
}
pkg_postinst() {
build-docbook-catalog
}
|