summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/mxmlplus')
-rw-r--r--dev-libs/mxmlplus/ChangeLog11
-rw-r--r--dev-libs/mxmlplus/Manifest3
-rw-r--r--dev-libs/mxmlplus/files/digest-mxmlplus-0.9.21
-rw-r--r--dev-libs/mxmlplus/files/mxmlplus-0.9.2-fixblanks.patch12
-rw-r--r--dev-libs/mxmlplus/metadata.xml5
-rw-r--r--dev-libs/mxmlplus/mxmlplus-0.9.2.ebuild45
6 files changed, 77 insertions, 0 deletions
diff --git a/dev-libs/mxmlplus/ChangeLog b/dev-libs/mxmlplus/ChangeLog
new file mode 100644
index 000000000000..118c02a120c2
--- /dev/null
+++ b/dev-libs/mxmlplus/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-libs/mxmlplus
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mxmlplus/ChangeLog,v 1.1 2004/11/07 11:27:40 usata Exp $
+
+*mxmlplus-0.9.2 (07 Nov 2004)
+
+ 07 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml,
+ +files/mxmlplus-0.9.2-fixblanks.patch, +mxmlplus-0.9.2.ebuild:
+ Initial import. Ebuild submitted by Diego 'Flameeyes' Petteno
+ <dgp85@users.sourceforge.net>; bug #59979.
+
diff --git a/dev-libs/mxmlplus/Manifest b/dev-libs/mxmlplus/Manifest
new file mode 100644
index 000000000000..e67b543ebb86
--- /dev/null
+++ b/dev-libs/mxmlplus/Manifest
@@ -0,0 +1,3 @@
+MD5 426558ca7985b9fa598c2ee052451f24 mxmlplus-0.9.2.ebuild 968
+MD5 42fe34e0a1fae5ac75b0bc33b6846d18 files/digest-mxmlplus-0.9.2 69
+MD5 5cbfe3186a42322a7b1b05c6f29c069e files/mxmlplus-0.9.2-fixblanks.patch 586
diff --git a/dev-libs/mxmlplus/files/digest-mxmlplus-0.9.2 b/dev-libs/mxmlplus/files/digest-mxmlplus-0.9.2
new file mode 100644
index 000000000000..2649fb630d80
--- /dev/null
+++ b/dev-libs/mxmlplus/files/digest-mxmlplus-0.9.2
@@ -0,0 +1 @@
+MD5 562b3aedaa78a16bf963f43327566e6a libmxmlplus-0.9.2.tar.gz 267249
diff --git a/dev-libs/mxmlplus/files/mxmlplus-0.9.2-fixblanks.patch b/dev-libs/mxmlplus/files/mxmlplus-0.9.2-fixblanks.patch
new file mode 100644
index 000000000000..b2af1b85973a
--- /dev/null
+++ b/dev-libs/mxmlplus/files/mxmlplus-0.9.2-fixblanks.patch
@@ -0,0 +1,12 @@
+diff -Npaur libmxmlplus-0.9.2/src/mxml_attribute.cpp libmxmlplus-0.9.2-fixed/src/mxml_attribute.cpp
+--- libmxmlplus-0.9.2/src/mxml_attribute.cpp 2004-01-11 14:32:45.000000000 +0100
++++ libmxmlplus-0.9.2-fixed/src/mxml_attribute.cpp 2004-08-12 04:36:40.696926344 +0200
+@@ -32,7 +32,7 @@ Attribute::Attribute( std::istream &in,
+ m_value = "";
+ m_name = "";
+
+- while ( iStatus < 6 && ( in >> chr ) ) {
++ while ( iStatus < 6 && ( in.get(chr) ) ) {
+ //std::cout << "LINE: " << line() << " POS: " << character() << std::endl;
+ switch ( iStatus ) {
+ // begin
diff --git a/dev-libs/mxmlplus/metadata.xml b/dev-libs/mxmlplus/metadata.xml
new file mode 100644
index 000000000000..06689a1a9114
--- /dev/null
+++ b/dev-libs/mxmlplus/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>text-markup</herd>
+</pkgmetadata>
diff --git a/dev-libs/mxmlplus/mxmlplus-0.9.2.ebuild b/dev-libs/mxmlplus/mxmlplus-0.9.2.ebuild
new file mode 100644
index 000000000000..3fe8ebd2031b
--- /dev/null
+++ b/dev-libs/mxmlplus/mxmlplus-0.9.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mxmlplus/mxmlplus-0.9.2.ebuild,v 1.1 2004/11/07 11:27:40 usata Exp $
+
+inherit eutils
+
+MY_P="lib${P}"
+
+DESCRIPTION="MXMLPlus is a C++ library based on the engine of MXML (but integrated with stl:: classes) that merges the power and DOM concepts you find in MXML with a real object oriented environment."
+
+SRC_URI="mirror://sourceforge/mxml/${MY_P}.tar.gz"
+HOMEPAGE="http://mxml.sourceforge.net/"
+
+DEPEND="doc? ( app-doc/doxygen )"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-fixblanks.patch
+}
+
+src_compile() {
+ econf --enable-shared $(use_enable doc) || die
+ emake || die
+
+ if use doc; then
+ cd ${S}/doc
+ doxygen
+ fi
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ if use doc; then
+ dodir /usr/share/doc/${PF}
+ dohtml -r ${S}/doc/html/*
+ fi
+}