# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/xhtml1/xhtml1-20020801-r3.ebuild,v 1.4 2008/01/19 15:15:02 grobian Exp $ inherit sgml-catalog eutils DESCRIPTION="DTDs for the eXtensible HyperText Markup Language 1.0" HOMEPAGE="http://www.w3.org/TR/xhtml1/" SRC_URI="http://www.w3.org/TR/xhtml1/xhtml1.tgz" LICENSE="W3C" SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" DEPEND="app-text/sgml-common" src_unpack() { unpack ${A} cd ${S}/DTD epatch ${FILESDIR}/${PN}-catalog.patch } src_install() { insinto /usr/share/sgml/${PN} doins DTD/xhtml.soc DTD/*.dcl DTD/*.dtd DTD/*.ent insinto /etc/sgml dodoc *.pdf *.ps dohtml *.html *.png *.css } sgml-catalog_cat_include "/etc/sgml/${PN}.cat" \ "/usr/share/sgml/${PN}/xhtml.soc"