summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tcldom/ChangeLog8
-rw-r--r--dev-tcltk/tcldom/Manifest14
-rw-r--r--dev-tcltk/tcldom/files/digest-tcldom-3.01
-rw-r--r--dev-tcltk/tcldom/tcldom-3.0.ebuild64
4 files changed, 75 insertions, 12 deletions
diff --git a/dev-tcltk/tcldom/ChangeLog b/dev-tcltk/tcldom/ChangeLog
index ab1e5fda65c0..3e1390185660 100644
--- a/dev-tcltk/tcldom/ChangeLog
+++ b/dev-tcltk/tcldom/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tcltk/tcldom
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcldom/ChangeLog,v 1.5 2005/05/12 03:31:24 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcldom/ChangeLog,v 1.6 2005/06/26 03:34:28 matsuu Exp $
+
+*tcldom-3.0 (26 Jun 2005)
+
+ 26 Jun 2005; MATSUU Takuto <matsuu@gentoo.org> +tcldom-3.0.ebuild:
+ Version bumped.
+ Added some USE flags.
12 May 2005; Olivier Crête <tester@gentoo.org> tcldom-2.6.ebuild:
Marking ~amd64
diff --git a/dev-tcltk/tcldom/Manifest b/dev-tcltk/tcldom/Manifest
index 07966160f806..b171279ac20f 100644
--- a/dev-tcltk/tcldom/Manifest
+++ b/dev-tcltk/tcldom/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
+MD5 57a3720373c79af5b1a03bebfacd4599 tcldom-3.0.ebuild 1226
MD5 8e830cebb2959e830a3d0b55f3d2ebe3 ChangeLog 563
+MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
MD5 37d9d1bee0c87a73e4986a2dbcdceb6a tcldom-2.6.ebuild 620
MD5 ad2e519bbc7102830cb4f72173944a18 files/digest-tcldom-2.6 62
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCgs4cmOfEJZHYOKcRAtdtAJ91ZPcoqgRutUR8QH34Lr6xiHVLNwCeKP8a
-U4y+uLRYDna+fS8S/I9kvAo=
-=RTSx
------END PGP SIGNATURE-----
+MD5 6ced6c084ff617a46a00282483c6e4fd files/digest-tcldom-3.0 62
diff --git a/dev-tcltk/tcldom/files/digest-tcldom-3.0 b/dev-tcltk/tcldom/files/digest-tcldom-3.0
new file mode 100644
index 000000000000..a269ded9aba1
--- /dev/null
+++ b/dev-tcltk/tcldom/files/digest-tcldom-3.0
@@ -0,0 +1 @@
+MD5 51006794f47f6a6138f872fe6aa3ad9e tcldom-3.0.tar.gz 396326
diff --git a/dev-tcltk/tcldom/tcldom-3.0.ebuild b/dev-tcltk/tcldom/tcldom-3.0.ebuild
new file mode 100644
index 000000000000..d1d985f6a0ff
--- /dev/null
+++ b/dev-tcltk/tcldom/tcldom-3.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcldom/tcldom-3.0.ebuild,v 1.1 2005/06/26 03:34:28 matsuu Exp $
+
+inherit eutils
+
+DESCRIPTION="Document Object Model For Tcl"
+HOMEPAGE="http://tclxml.sourceforge.net/tcldom.html"
+SRC_URI="mirror://sourceforge/tclxml/${P}.tar.gz"
+
+IUSE="expat xml2 threads"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+DEPEND=">=dev-lang/tcl-8.3.3
+ >=dev-tcltk/tcllib-1.2
+ ~dev-tcltk/tclxml-3.0
+ expat? ( >=dev-libs/expat )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/library
+ sed -e "s/@VERSION@/${PV}/" \
+ -e "s/@Tcldom_LIB_FILE@@/UNSPECIFIED/" \
+ < pkgIndex.tcl.in > pkgIndex.tcl
+}
+
+src_compile() {
+ local myconf=""
+
+ use threads && myconf="${myconf} --enable-threads"
+
+ if use xml2 ; then
+ cd ${S}/src-libxml2
+ econf ${myconf} || die
+ emake || die
+ fi
+ if use expat ; then
+ cd ${S}/src
+ econf ${myconf} || die
+ emake || die
+ fi
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/${PN}${PV}
+ doins library/*.tcl || die
+
+ if use xml2 ; then
+ cd ${S}/src-libxml2
+ make DESTDIR=${D} install || die
+ fi
+ if use expat ; then
+ cd ${S}/src
+ make DESTDIR=${D} install || die
+ fi
+
+ cd ${S}
+ dodoc ChangeLog LICENSE README RELNOTES
+ docinto examples; dodoc examples/*
+ dohtml docs/*.html
+}