blob: 1283b032d99aa64525e8b62bf9e1d2b5385d7bbf (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2-r3.ebuild,v 1.7 2003/02/11 17:14:58 gmsoft Exp $
MY_P="docbkx412"
S=${WORKDIR}/${P}
DESCRIPTION="Docbook DTD for XML"
SRC_URI="http://www.oasis-open.org/docbook/xml/${PV}/${MY_P}.zip"
HOMEPAGE="http://www.oasis-open.org/docbook/"
SLOT="4.1.2"
LICENSE="X11"
DEPEND=">=app-arch/unzip-5.41
>=dev-libs/libxml2-2.4
>=app-text/docbook-xsl-stylesheets-1.45"
KEYWORDS="x86 ppc sparc alpha hppa"
src_unpack() {
mkdir ${S}
cd ${S}
unpack ${A}
}
src_install() {
newbin ${FILESDIR}/build-docbook-catalog-${PV}-r3 build-docbook-catalog
dodir /etc/xml
touch ${D}/etc/sml/.keep
insinto /usr/share/sgml/docbook/xml-dtd-${PV}
doins *.dtd *.mod
doins docbook.cat
insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent
doins ent/*.ent
dodoc ChangeLog *.txt
}
pkg_postinst() {
build-docbook-catalog
}
|