diff options
author | Matthew Turk <satai@gentoo.org> | 2002-12-20 07:21:29 +0000 |
---|---|---|
committer | Matthew Turk <satai@gentoo.org> | 2002-12-20 07:21:29 +0000 |
commit | 4897dd1ca98397fc486f07dc7ec0c91a4de5ce72 (patch) | |
tree | 778cf106fef3f8dab39d6a2ab7387f055d8a764f /app-text/html401 | |
parent | Closing 10734, updating to the latest version. I hope this doesn't mess things (diff) | |
download | historical-4897dd1ca98397fc486f07dc7ec0c91a4de5ce72.tar.gz historical-4897dd1ca98397fc486f07dc7ec0c91a4de5ce72.tar.bz2 historical-4897dd1ca98397fc486f07dc7ec0c91a4de5ce72.zip |
HTML 4.01 DTD, by Adam Rendhalver. #11160.
Diffstat (limited to 'app-text/html401')
-rw-r--r-- | app-text/html401/files/digest-html401-19991224 | 1 | ||||
-rw-r--r-- | app-text/html401/html401-19991224.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/app-text/html401/files/digest-html401-19991224 b/app-text/html401/files/digest-html401-19991224 new file mode 100644 index 000000000000..c047d8034b7b --- /dev/null +++ b/app-text/html401/files/digest-html401-19991224 @@ -0,0 +1 @@ +MD5 1ed76627ba80816079649f67023ec7ab html40.tgz 369830 diff --git a/app-text/html401/html401-19991224.ebuild b/app-text/html401/html401-19991224.ebuild new file mode 100644 index 000000000000..bf94891a2e32 --- /dev/null +++ b/app-text/html401/html401-19991224.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/html401/html401-19991224.ebuild,v 1.1 2002/12/20 07:21:29 satai 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" +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 +} |