summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Turk <satai@gentoo.org>2002-11-16 07:21:29 +0000
committerMatthew Turk <satai@gentoo.org>2002-11-16 07:21:29 +0000
commitd1968cffda0ddff0c9dce4955771e31f52c37268 (patch)
tree57c069816984f75679c24cd424858f2d49ae8151 /app-text/xhtml1
parentInitial import. Thanks to Peter Johanson (peter@peterjohanson.com) (diff)
downloadgentoo-2-d1968cffda0ddff0c9dce4955771e31f52c37268.tar.gz
gentoo-2-d1968cffda0ddff0c9dce4955771e31f52c37268.tar.bz2
gentoo-2-d1968cffda0ddff0c9dce4955771e31f52c37268.zip
Initial import. Thanks to Ryan Shaw (ryan.shaw@stanfordalumni.org)
Diffstat (limited to 'app-text/xhtml1')
-rw-r--r--app-text/xhtml1/ChangeLog8
-rw-r--r--app-text/xhtml1/files/digest-xhtml1-200208011
-rw-r--r--app-text/xhtml1/xhtml1-20020801.ebuild33
3 files changed, 42 insertions, 0 deletions
diff --git a/app-text/xhtml1/ChangeLog b/app-text/xhtml1/ChangeLog
new file mode 100644
index 000000000000..151813224023
--- /dev/null
+++ b/app-text/xhtml1/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/xhtml1/ChangeLog,v 1.1 2002/11/16 07:21:29 satai Exp $
+
+*xhtml1-20020801 (16 Nov 02)
+
+ 16 Nov 2002; Matthew Turk <satai@gentoo.org> :
+ Initial import. Ebuild submitted by Ryan Shaw <ryan.shaw@stanfordalumni.org>
diff --git a/app-text/xhtml1/files/digest-xhtml1-20020801 b/app-text/xhtml1/files/digest-xhtml1-20020801
new file mode 100644
index 000000000000..44c04cf22c69
--- /dev/null
+++ b/app-text/xhtml1/files/digest-xhtml1-20020801
@@ -0,0 +1 @@
+MD5 1fdad567eecb5deb8e32e3892cfe0074 xhtml1.tgz 232192
diff --git a/app-text/xhtml1/xhtml1-20020801.ebuild b/app-text/xhtml1/xhtml1-20020801.ebuild
new file mode 100644
index 000000000000..f0a290c18d14
--- /dev/null
+++ b/app-text/xhtml1/xhtml1-20020801.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/xhtml1/xhtml1-20020801.ebuild,v 1.1 2002/11/16 07:21:29 satai Exp $
+
+DESCRIPTION="DTDs for the eXtensible HyperText Markup Language 1.0"
+HOMEPAGE="http://www.w3.org/TR/${PN}/"
+SRC_URI="${HOMEPAGE}${PN}.tgz"
+LICENSE="W3C"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="app-text/sgml-common"
+
+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
+}
+
+pkg_postinst() {
+ if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
+ then
+ install-catalog --add /etc/sgml/${PN}.cat /usr/share/sgml/${PN}/xhtml.soc
+ fi
+}
+
+pkg_prerm() {
+ if [ -e /etc/sgml/${PN}.cat ]
+ then
+ install-catalog --remove /etc/sgml/${PN}.cat /usr/share/sgml/${PN}/xhtml.soc
+ fi
+}