blob: 3859de0728b4c2c14d7b94efb51f0d2643d8aa40 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/html401/html401-19991224.ebuild,v 1.7 2004/07/13 22:03:52 agriffis Exp $
DESCRIPTION="DTDs for the HyperText Markup Language 4.01"
HOMEPAGE="http://www.w3.org/TR/${PN}/"
SRC_URI="${HOMEPAGE}html40.tgz"
S=${WORKDIR}
LICENSE="W3C"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="app-text/sgml-common"
src_install() {
insinto /usr/share/sgml/${PN}
doins HTML4.cat HTML4.decl *.dtd *.ent
insinto /etc/sgml
dohtml *.html */*
}
pkg_postinst() {
if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
then
install-catalog --add /etc/sgml/${PN}.cat /usr/share/sgml/${PN}/HTML4.cat
fi
}
pkg_prerm() {
if [ -e /etc/sgml/${PN}.cat ]
then
install-catalog --remove /etc/sgml/${PN}.cat /usr/share/sgml/${PN}/HTML4.cat
fi
}
|