summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2007-01-02 23:21:43 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2007-01-02 23:21:43 +0000
commit1778c7519ac762f4796b3d6fc02bfa48cdc334cb (patch)
tree7efa845625bf636d41707c7f16fb23f4d204cedf /dev-util/mono-tools
parentversion bump from upstream (diff)
downloadgentoo-2-1778c7519ac762f4796b3d6fc02bfa48cdc334cb.tar.gz
gentoo-2-1778c7519ac762f4796b3d6fc02bfa48cdc334cb.tar.bz2
gentoo-2-1778c7519ac762f4796b3d6fc02bfa48cdc334cb.zip
version bump from upstream
(Portage version: 2.1.2_rc4-r4)
Diffstat (limited to 'dev-util/mono-tools')
-rw-r--r--dev-util/mono-tools/ChangeLog10
-rw-r--r--dev-util/mono-tools/files/digest-mono-tools-1.2.13
-rw-r--r--dev-util/mono-tools/mono-tools-1.2.1.ebuild71
3 files changed, 82 insertions, 2 deletions
diff --git a/dev-util/mono-tools/ChangeLog b/dev-util/mono-tools/ChangeLog
index 950d4ea83f22..d8178761a41d 100644
--- a/dev-util/mono-tools/ChangeLog
+++ b/dev-util/mono-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/mono-tools
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.14 2006/10/29 04:58:50 latexer Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.15 2007/01/02 23:21:43 compnerd Exp $
+
+*mono-tools-1.2.1 (02 Jan 2007)
+
+ 02 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+ +mono-tools-1.2.1.ebuild:
+ Version bump from upstream
*mono-tools-1.1.17-r1 (28 Oct 2006)
diff --git a/dev-util/mono-tools/files/digest-mono-tools-1.2.1 b/dev-util/mono-tools/files/digest-mono-tools-1.2.1
new file mode 100644
index 000000000000..e3240c8fe2ec
--- /dev/null
+++ b/dev-util/mono-tools/files/digest-mono-tools-1.2.1
@@ -0,0 +1,3 @@
+MD5 d65587a842799f2e087ef101bcb4c68a mono-tools-1.2.1.tar.gz 281653
+RMD160 b96046218262220a931b074724334a31743026a1 mono-tools-1.2.1.tar.gz 281653
+SHA256 3968713b758fa80156de19339f20be102c34aadd2817f955041db8402d76be78 mono-tools-1.2.1.tar.gz 281653
diff --git a/dev-util/mono-tools/mono-tools-1.2.1.ebuild b/dev-util/mono-tools/mono-tools-1.2.1.ebuild
new file mode 100644
index 000000000000..24f8378c169d
--- /dev/null
+++ b/dev-util/mono-tools/mono-tools-1.2.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-1.2.1.ebuild,v 1.1 2007/01/02 23:21:43 compnerd Exp $
+
+inherit eutils mono multilib autotools
+
+DESCRIPTION="Set of useful Mono related utilities"
+HOMEPAGE="http://www.mono-project.com/"
+SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtkhtml seamonkey"
+
+RDEPEND="dev-lang/mono
+ >=dev-util/monodoc-${PV}
+ =dev-dotnet/gtk-sharp-2*
+ =dev-dotnet/glade-sharp-2*
+ =dev-dotnet/gconf-sharp-2*
+ gtkhtml? ( =dev-dotnet/gtkhtml-sharp-2* )
+ seamonkey? ( =dev-dotnet/gecko-sharp-0.11* )
+ !seamonkey? ( =dev-dotnet/gtkhtml-sharp-2* )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+# Parallel build unfriendly
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_setup() {
+ if ! use gtkhtml && ! use seamonkey ; then
+ einfo "No browser selected, defaulting to gtkhtml"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Make the browser optional
+ epatch ${FILESDIR}/${PN}-1.1.17-html-renderer-fixes.diff
+
+ # Install all our .dlls under $(libdir), not $(prefix)/lib
+ if [ $(get_libdir) != "lib" ] ; then
+ sed -i -e 's:$(prefix)/lib:$(libdir):' \
+ ${S}/{asn1view/gtk,docbrowser,gnunit/src}/Makefile.am \
+ || die "sed failed"
+
+ sed -i -e 's:$prefix/lib:@libdir@:' \
+ ${S}/docbrowser/monodoc.in \
+ || die "sed failed"
+ fi
+
+ eautoreconf
+}
+
+src_compile() {
+ local myconf="$(use_enable gtkhtml) $(use_enable seamonkey mozilla)"
+
+ if ! use gtktml && ! use seamonkey ; then
+ myconf="--enable-gtkhtml --disable-mozilla"
+ fi
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc ChangeLog README
+}