summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2010-09-30 16:04:33 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-09-30 16:04:33 +0000
commitcd1095e82fe97e0d759e5c08a27575ac35bb32c1 (patch)
treea9a35deb5c729103cc4996d1be937018c06ccda8 /app-text/html401/html401-19991224-r2.ebuild
parentRespect LDFLAGS. Bug #337679 (diff)
downloadgentoo-2-cd1095e82fe97e0d759e5c08a27575ac35bb32c1.tar.gz
gentoo-2-cd1095e82fe97e0d759e5c08a27575ac35bb32c1.tar.bz2
gentoo-2-cd1095e82fe97e0d759e5c08a27575ac35bb32c1.zip
Cleanup, improve directory structure, bug 139537, thanks to Roberto Castagnola for patch
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'app-text/html401/html401-19991224-r2.ebuild')
-rw-r--r--app-text/html401/html401-19991224-r2.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/app-text/html401/html401-19991224-r2.ebuild b/app-text/html401/html401-19991224-r2.ebuild
index a9f8f5b8a8c1..13c682af855e 100644
--- a/app-text/html401/html401-19991224-r2.ebuild
+++ b/app-text/html401/html401-19991224-r2.ebuild
@@ -1,25 +1,27 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/html401/html401-19991224-r2.ebuild,v 1.12 2010/01/02 11:23:31 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/html401/html401-19991224-r2.ebuild,v 1.13 2010/09/30 16:04:33 tampakrap Exp $
+
+EAPI=3
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"
-S=${WORKDIR}
+
LICENSE="W3C"
SLOT="0"
KEYWORDS="~amd64 ppc s390 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DEPEND="app-text/sgml-common"
+RDEPEND=""
-sgml-catalog_cat_include "/etc/sgml/${PN}.cat" \
- "/usr/share/sgml/${PN}/HTML4.cat"
+S=${WORKDIR}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
+ sgml-catalog_cat_include "/etc/sgml/${PN}.cat" \
+ "/usr/share/sgml/${PN}/HTML4.cat"
epatch "${FILESDIR}"/${PN}-decl.diff
}
@@ -27,5 +29,5 @@ src_install() {
insinto /usr/share/sgml/${PN}
doins HTML4.cat HTML4.decl *.dtd *.ent
insinto /etc/sgml
- dohtml *.html */*
+ dohtml -r *.html $(ls -p | fgrep "/" | sed "s#/##")
}