new package (#7079)
authorLeonardo Boshell <leonardop@gentoo.org>
Tue, 5 Nov 2002 12:21:45 +0000 (12:21 +0000)
committerLeonardo Boshell <leonardop@gentoo.org>
Tue, 5 Nov 2002 12:21:45 +0000 (12:21 +0000)
app-text/mlview/ChangeLog [new file with mode: 0644]
app-text/mlview/files/digest-mlview-0.0.3_rc1 [new file with mode: 0644]
app-text/mlview/mlview-0.0.3_rc1.ebuild [new file with mode: 0644]

diff --git a/app-text/mlview/ChangeLog b/app-text/mlview/ChangeLog
new file mode 100644 (file)
index 0000000..cb6d35d
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for app-text/mlview
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/mlview/ChangeLog,v 1.1 2002/11/05 12:21:45 leonardop Exp $
+
+*mlview-0.0.3_rc1 (05 Nov 2002)
+
+  05 Nov 2002; L. Boshell <leonardop@gentoo.org> ChangeLog,
+  mlview-0.0.3_rc1.ebuild : Initial import. Thanks to Rigo Ketelings for
+  his contribution on bug #7079.
diff --git a/app-text/mlview/files/digest-mlview-0.0.3_rc1 b/app-text/mlview/files/digest-mlview-0.0.3_rc1
new file mode 100644 (file)
index 0000000..d031ba1
--- /dev/null
@@ -0,0 +1 @@
+MD5 e56fadf8b6f9d6f8205c2f494c7bcb87 mlview-0.0.3rc1.tar.gz 623231
diff --git a/app-text/mlview/mlview-0.0.3_rc1.ebuild b/app-text/mlview/mlview-0.0.3_rc1.ebuild
new file mode 100644 (file)
index 0000000..e558f10
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/mlview/mlview-0.0.3_rc1.ebuild,v 1.1 2002/11/05 12:21:45 leonardop Exp $
+
+DESCRIPTION="XML Editor for Gnome"
+HOMEPAGE="http://www.nongnu.org/mlview/"
+MY_P=${P/_/}
+SRC_URI="http://savannah.gnu.org/download/${PN}/tarballs/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="nls"
+
+DEPEND="gnome-base/gnome-libs
+       >=dev-libs/libxml2-2.4.22
+       nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+       local myconf=""
+
+       use nls || myconf="--disable-nls"
+       
+       econf $myconf || die "./configure failed"
+               
+       # The presence of this file breaks the compilation without nls
+       [ -f ${S}/intl/libintl.h ] && rm ${S}/intl/libintl.h
+       
+       emake || die "Compilation failed"
+}
+
+src_install() {
+       einstall || die "Installation failed"
+
+       dodoc ABOUT-NLS AUTHORS BRANCHES COPYING ChangeLog NEWS README TODO
+}