summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2003-12-20 05:23:52 +0000
committerMike Gardiner <obz@gentoo.org>2003-12-20 05:23:52 +0000
commite0f21c1bbaa7b602ffd20b5e8f7595cb3e4fdfd0 (patch)
treede9db70662090491754af842ed2882333ef8ba21 /app-text/htmltidy
parentstable on sparc, we need a fluxbox background setter that works (diff)
downloadgentoo-2-e0f21c1bbaa7b602ffd20b5e8f7595cb3e4fdfd0.tar.gz
gentoo-2-e0f21c1bbaa7b602ffd20b5e8f7595cb3e4fdfd0.tar.bz2
gentoo-2-e0f21c1bbaa7b602ffd20b5e8f7595cb3e4fdfd0.zip
New revision with docs
Diffstat (limited to 'app-text/htmltidy')
-rw-r--r--app-text/htmltidy/ChangeLog7
-rw-r--r--app-text/htmltidy/Manifest3
-rw-r--r--app-text/htmltidy/files/digest-htmltidy-2.7.18-r22
-rw-r--r--app-text/htmltidy/htmltidy-2.7.18-r2.ebuild55
4 files changed, 66 insertions, 1 deletions
diff --git a/app-text/htmltidy/ChangeLog b/app-text/htmltidy/ChangeLog
index 9310ccae5244..b4d5a01c193c 100644
--- a/app-text/htmltidy/ChangeLog
+++ b/app-text/htmltidy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/htmltidy
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/ChangeLog,v 1.11 2003/12/16 14:31:29 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/ChangeLog,v 1.12 2003/12/20 05:23:52 obz Exp $
+
+*htmltidy-2.7.18-r2 (20 Dec 2003)
+
+ 20 Dec 2003; Mike Gardiner <obz@gentoo.org> htmltidy-2.7.18-r2.ebuild:
+ New revision with docs, see bug #34775
16 Dec 2003; Mike Gardiner <obz@gentoo.org> htmltidy-3.10.29.ebuild:
Marked 3.10.29 stable for x86
diff --git a/app-text/htmltidy/Manifest b/app-text/htmltidy/Manifest
index d8dbf6da24f9..680ce4abc791 100644
--- a/app-text/htmltidy/Manifest
+++ b/app-text/htmltidy/Manifest
@@ -1,11 +1,14 @@
MD5 5c39e3e077a15833a9eafef801b54f04 htmltidy-0.8.4.ebuild 1088
+MD5 a9ac0c531f94f4e38caf4eccf867b4fb htmltidy-2.7.18-r2.ebuild 1294
MD5 90ae08ccebddd104901b56d40364e561 htmltidy-2.7.18-r1.ebuild 1112
MD5 428c3a3e6f92d9daff3579525ef498f4 htmltidy-3.10.29.ebuild 2119
MD5 538688b2f897dd11dd0d03d175e7f991 ChangeLog 1991
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
+MD5 3a047e147f8de791cea6d0523822a3e8 .htmltidy-2.7.18-r2.ebuild.swp 12288
MD5 2fe7c73c1e39e2714ee35931b23b0b22 files/03-htmltidy-docbook.patch 2948
MD5 121179b048496c0fabc8c209ab04e114 files/htmltidy-dbpatch.diff 30781
MD5 a96b41596c34f139192fe7733d075722 files/digest-htmltidy-2.7.18-r1 122
+MD5 a96b41596c34f139192fe7733d075722 files/digest-htmltidy-2.7.18-r2 122
MD5 969e47b8a4da6f69002add193ef04121 files/digest-htmltidy-0.8.4 59
MD5 e97d474e9517a0a945af252d243c455a files/digest-htmltidy-3.10.29 179
MD5 47ad3e22b233024cc46fa12e2e56656b files/03-html2db-null.patch 4249
diff --git a/app-text/htmltidy/files/digest-htmltidy-2.7.18-r2 b/app-text/htmltidy/files/digest-htmltidy-2.7.18-r2
new file mode 100644
index 000000000000..17bcbae41bd6
--- /dev/null
+++ b/app-text/htmltidy/files/digest-htmltidy-2.7.18-r2
@@ -0,0 +1,2 @@
+MD5 7694dcdb7d451b17477292d60186f477 tidy_src_020718.tgz 153771
+MD5 54ab968e177bc92495fce324c18f8b52 tidy_docs.tgz 152720
diff --git a/app-text/htmltidy/htmltidy-2.7.18-r2.ebuild b/app-text/htmltidy/htmltidy-2.7.18-r2.ebuild
new file mode 100644
index 000000000000..e375099132c8
--- /dev/null
+++ b/app-text/htmltidy/htmltidy-2.7.18-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/htmltidy-2.7.18-r2.ebuild,v 1.1 2003/12/20 05:23:52 obz Exp $
+
+# convert from normalized gentoo version number to htmltidy's wacky date thing
+parts=(${PV//./ })
+vers=$(printf "%02d%02d%02d" ${parts[0]} ${parts[1]} ${parts[2]})
+MY_P=tidy_src_${vers}
+S=${WORKDIR}/tidy
+
+DESCRIPTION="Tidy the layout and correct errors in HTML and XML documents"
+SRC_URI="http://tidy.sourceforge.net/src/old/${MY_P}.tgz
+ http://tidy.sourceforge.net/docs/tidy_docs.tgz"
+HOMEPAGE="http://tidy.sourceforge.net/"
+LICENSE="GPL-2"
+
+IUSE="xml doc"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+DEPEND=""
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ use xml && epatch ${FILESDIR}/htmltidy-dbpatch.diff
+
+ # Prevent tidy from chown/grp'ing itself to 'tidy:tidy'
+ sed -i -e "s:chgrp\|chown:#&:" Makefile
+
+}
+
+src_compile() {
+
+ emake OTHERCFLAGS="${CFLAGS}" || die "emake failed"
+
+}
+
+src_install() {
+
+ # Need to move the man page around, thanks to the flaky Makefile
+ cp ${S}/htmldoc/man_page.txt ${S}/man_page.txt
+
+ make \
+ INSTALLDIR="${D}/usr/" MANPAGESDIR="${D}/usr/share/man/" \
+ install || die
+
+ # This installs the standard project documentation
+ cd ${S}/htmldoc
+ dohtml *.html *.gif *.css
+ # and the api documentation if we have USE="doc"
+ use doc && dohtml -r api
+
+}