app-text/html401: Drop old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-11-08 22:13:42 +01:00
parent f2f80ae162
commit 4ce77fa5de
@@ -1,32 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit sgml-catalog eutils
DESCRIPTION="DTDs for the HyperText Markup Language 4.01"
HOMEPAGE="http://www.w3.org/TR/html401/"
SRC_URI="http://www.w3.org/TR/html401/html40.tgz"
LICENSE="W3C"
SLOT="0"
KEYWORDS="amd64 ppc ~s390 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DEPEND="app-text/sgml-common"
RDEPEND=""
S=${WORKDIR}
src_prepare() {
sgml-catalog_cat_include "/etc/sgml/${PN}.cat" \
"/usr/share/sgml/${PN}/HTML4.cat"
epatch "${FILESDIR}"/${PN}-decl.diff
}
src_install() {
insinto /usr/share/sgml/${PN}
doins HTML4.cat HTML4.decl *.dtd *.ent
insinto /usr/share/doc/${PF}/html
doins -r *.html $(ls -p | fgrep "/" | sed "s#/##")
}