Matthew Moses avatar Matthew Moses committed 982da4f Merge

Merge with gentoo-dotnet.

Comments (0)

Files changed (29)

app-portage/nuport/metadata.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer>
-		<email>heather@cynede.net</email>
-	</maintainer>
-	<longdescription>
-	  designed to help with porting nuget packages to ebuilds
-	</longdescription>
-</pkgmetadata>

app-portage/nuport/nuport-9999.ebuild

-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-USE_DOTNET="net40 net45"
-
-inherit git-2 fake mono
-
-EGIT_REPO_URI="git://github.com/Heather/nuport.git"
-
-DESCRIPTION="F# NuGet to Portage converter"
-HOMEPAGE="https://github.com/gentoo-dotnet/nuport.git"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-DEPEND="dev-lang/mono
-dev-dotnet/shelly"
-RDEPEND="${DEPEND}"
-
-src_install() {
-	insinto /usr/lib/mono/nuport/"${FRAMEWORK}"
-	doins src/bin/Release/FSharp.Core.dll
-	doins src/bin/Release/Heather.dll
-	doins src/bin/Release/NuGet.Core.dll
-	doins src/bin/Release/nuport.exe
-}
-
-pkg_postinst() {
-	echo "mono /usr/lib/mono/nuport/${FRAMEWORK}/nuport.exe  \"\$@\"" > /usr/bin/nuport
-	chmod 777 /usr/bin/nuport
-}

dev-dotnet/failess/failess-0.0.5-r3.ebuild

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+USE_DOTNET="net40"
+
+inherit nuget mono
+
+DESCRIPTION="Failess"
+HOMEPAGE="http://nuget.org/packages/Failess"
+SRC_URI=""
+
+LICENSE="MS-PL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/mono
+dev-lang/fsharp"
+RDEPEND="${DEPEND}"
+
+src_install() {
+	elog "Installing libraries"
+	insinto /usr/lib/mono/Failess/"${FRAMEWORK}"/
+	doins Failess."${NPV}"/tools/Failess.exe || die
+	doins Failess."${NPV}"/tools/Failess.exe.config
+	doins Failess."${NPV}"/tools/FakeLib.dll || die
+	doins Failess."${NPV}"/tools/FailessLib.dll || die
+	doins Failess."${NPV}"/tools/FailLib.dll || die
+	doins Failess."${NPV}"/tools/Newtonsoft.Json.dll
+	doins Failess."${NPV}"/tools/NuGet.Core.dll
+	doins Failess."${NPV}"/tools/Mono.Cecil.dll
+}
+
+pkg_postinst() {
+	echo "mono /usr/lib/mono/Failess/${FRAMEWORK}/Failess.exe \"\$@\"" > /usr/bin/failess
+	chmod 777 /usr/bin/failess
+}

dev-dotnet/failess/metadata.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>heather@cynede.net</email>
+	</maintainer>
+	<longdescription>
+	  NuGet:Failess
+	</longdescription>
+</pkgmetadata>

dev-dotnet/fake/fake-2.1.182_alpha.ebuild

-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-USE_DOTNET="net40"
-
-inherit nuget mono
-
-DESCRIPTION="FAKE - F# Make"
-HOMEPAGE="http://nuget.org/packages/FAKE"
-SRC_URI=""
-
-LICENSE="MS-PL"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-lang/mono
-dev-lang/fsharp"
-RDEPEND="${DEPEND}"
-
-src_install() {
-	elog "Installing libraries"
-	insinto /usr/lib/mono/FAKE/"${FRAMEWORK}"/
-	doins FAKE."${NPV}"/tools/FAKE.exe || die
-	doins FAKE."${NPV}"/tools/FakeLib.dll || die
-	doins FAKE."${NPV}"/tools/Newtonsoft.Json.dll
-	doins FAKE."${NPV}"/tools/Fake.SQL.dll
-}
-
-pkg_postinst() {
-	#Weird Solution to find NuGet.Core.dll :
-	ln -s "/usr/lib/mono/NuGet/4.5/NuGet.Core.dll" "/usr/lib/mono/FAKE/${FRAMEWORK}/NuGet.Core.dll"
-	#Exec :
-	echo "mono /usr/lib/mono/FAKE/${FRAMEWORK}/FAKE.exe \"\$@\"" > /usr/bin/fake
-	chmod 777 /usr/bin/fake
-}

dev-dotnet/fake/fake-2.1.184_alpha.ebuild

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+USE_DOTNET="net40"
+
+inherit nuget mono
+
+DESCRIPTION="FAKE - F# Make"
+HOMEPAGE="http://nuget.org/packages/FAKE"
+SRC_URI=""
+
+LICENSE="MS-PL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/mono
+dev-lang/fsharp"
+RDEPEND="${DEPEND}"
+
+src_install() {
+	elog "Installing libraries"
+	insinto /usr/lib/mono/FAKE/"${FRAMEWORK}"/
+	doins FAKE."${NPV}"/tools/FAKE.exe || die
+	doins FAKE."${NPV}"/tools/FakeLib.dll || die
+	doins FAKE."${NPV}"/tools/Newtonsoft.Json.dll
+	doins FAKE."${NPV}"/tools/Fake.SQL.dll
+}
+
+pkg_postinst() {
+	#Weird Solution to find NuGet.Core.dll :
+	ln -s "/usr/lib/mono/NuGet/4.5/NuGet.Core.dll" "/usr/lib/mono/FAKE/${FRAMEWORK}/NuGet.Core.dll"
+	#Exec :
+	echo "mono /usr/lib/mono/FAKE/${FRAMEWORK}/FAKE.exe \"\$@\"" > /usr/bin/fake
+	chmod 777 /usr/bin/fake
+}

dev-dotnet/libgdiplus/Manifest

+DIST libgdiplus-2.10.9.tar.bz2 2074317 SHA256 6ddeb6c327bada7cb6e06d1a20714f526a0c69520dfd42c12ddd032c3c5d964e SHA512 7f1944795c7ede5fd92a6d7e8d7d6cf2ef3c154e656b83e769b417f8f7195dd975084afe3c3cd1dda1ecb2c1167f76c0b5714cd16d549ff056add09763c6b26c WHIRLPOOL 0930cb2ad191c34b7ebd073f687536663bcfe9a44ed3296cf81bc9d43cfc7ee39d8f60f9b9f83f89847164b7366e514ee945737be50b82257209507c3b6e9c5d

dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-2.10.9.ebuild $
+
+EAPI=5
+
+inherit base eutils mono flag-o-matic
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.mono-project.com"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
+
+IUSE="cairo"
+
+RDEPEND="	>=dev-libs/glib-2.16:2
+	>=media-libs/freetype-2.3.7
+	>=media-libs/fontconfig-2.6
+	>=media-libs/libpng-1.4:0
+	x11-libs/libXrender
+	x11-libs/libX11
+	x11-libs/libXt
+	>=x11-libs/cairo-1.8.4[X]
+	media-libs/libexif
+	>=media-libs/giflib-4.1.3
+	virtual/jpeg
+	media-libs/tiff:0
+	!cairo? ( >=x11-libs/pango-1.20 )"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${P}-gold.patch"
+	"${FILESDIR}/${PN}-2.10.1-libpng15.patch" )
+
+src_prepare() {
+	base_src_prepare
+	sed -i -e 's:ungif:gif:g' configure || die
+}
+
+src_configure() {
+	append-flags -fno-strict-aliasing
+	econf 	--disable-dependency-tracking		\
+		--disable-static			\
+		--with-cairo=system			\
+		$(use !cairo && printf %s --with-pango)	\
+		|| die "configure failed"
+}
+
+src_compile() {
+	emake "$@" || die "emake failed"
+}
+
+src_install () {
+	emake -j1 DESTDIR="${D}" "$@" install || die "install failed" #nowarn
+	mono_multilib_comply
+	local commondoc=( AUTHORS ChangeLog README TODO )
+	for docfile in "${commondoc[@]}"
+	do
+		[[ -e "${docfile}" ]] && dodoc "${docfile}"
+	done
+	if [[ "${DOCS[@]}" ]]
+	then
+		dodoc "${DOCS[@]}" || die "dodoc DOCS failed"
+	fi
+	find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
+}

dev-dotnet/libgdiplus/libgdiplus-9999.ebuild

-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/Attic/libgdiplus-9999.ebuild,v 1.7 2011/02/27 12:46:28 pacho dead $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-9999.ebuild $
 
-EAPI=2
+EAPI=5
 
-EGIT_REPO_URI="http://github.com/mono/${PN}.git"
-
-inherit go-mono mono flag-o-matic git-2 autotools
+inherit base eutils mono flag-o-matic git-2
 
 DESCRIPTION="Library for using System.Drawing with mono"
-HOMEPAGE="http://www.go-mono.com/"
-
-SRC_URI=""
+HOMEPAGE="http://www.mono-project.com"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS=""
+EGIT_REPO_URI="http://github.com/mono/${PN}.git"
+
 IUSE="cairo"
 
-RDEPEND=">=dev-libs/glib-2.16
-		>=media-libs/freetype-2.3.7
-		>=media-libs/fontconfig-2.6
-		>=media-libs/libpng-1.4:0
-		x11-libs/libXrender
-		x11-libs/libX11
-		x11-libs/libXt
-		>=x11-libs/cairo-1.8.4[X]
-		media-libs/libexif
-		>=media-libs/giflib-4.1.3
-		virtual/jpeg
-		media-libs/tiff:0
-		!cairo? ( >=x11-lzhibs/pango-1.20 )"
+RDEPEND="	>=dev-libs/glib-2.16:2
+	>=media-libs/freetype-2.3.7
+	>=media-libs/fontconfig-2.6
+	>=media-libs/libpng-1.4:0
+	x11-libs/libXrender
+	x11-libs/libX11
+	x11-libs/libXt
+	>=x11-libs/cairo-1.8.4[X]
+	media-libs/libexif
+	>=media-libs/giflib-4.1.3
+	virtual/jpeg
+	media-libs/tiff:0
+	!cairo? ( >=x11-libs/pango-1.20 )"
 DEPEND="${RDEPEND}"
 
 RESTRICT="test"
 
-PATCHES=(
-	"${FILESDIR}/${PN}-2.10.1-libpng15.patch"
-)
+PATCHES=( "${FILESDIR}/${PN}-2.10.1-libpng15.patch" )
 
 src_prepare() {
 	sed -i -e 's/LT_/LTT_/g' cairo/configure.in || die
-	go-mono_src_prepare
+	base_src_prepare
 	epatch "${FILESDIR}/${PN}-2.10.9-gold.patch"
 	sed -i -e 's:ungif:gif:g' configure || die
 }
 
 src_configure() {
 	append-flags -fno-strict-aliasing
-	go-mono_src_configure	--with-cairo=system			\
-				$(use !cairo && printf %s --with-pango)	\
-				|| die "configure failed"
+	econf 	--disable-dependency-tracking		\
+		--disable-static			\
+		--with-cairo=system			\
+		$(use !cairo && printf %s --with-pango)	\
+		|| die "configure failed"
 }
+
+src_compile() {
+	emake "$@" || die "emake failed"
+}
+
+src_install () {
+	emake -j1 DESTDIR="${D}" "$@" install || die "install failed" #nowarn
+	mono_multilib_comply
+	local commondoc=( AUTHORS ChangeLog README TODO )
+	for docfile in "${commondoc[@]}"
+	do
+		[[ -e "${docfile}" ]] && dodoc "${docfile}"
+	done
+	if [[ "${DOCS[@]}" ]]
+	then
+		dodoc "${DOCS[@]}" || die "dodoc DOCS failed"
+	fi
+	find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
+}

dev-dotnet/shelly/shelly-9999.ebuild

 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE="fake"
+IUSE=""
 
 DEPEND="dev-lang/mono"
 RDEPEND="${DEPEND}"
 
 src_compile() {
-	if use fake; then
-		if [[ -f /usr/lib/mono/Heather/"${FRAMEWORK}"/Heather.dll ]]; then
-			fake
-		else
-			xbuild src/Heather.fsproj /p:Configuration=Release
-		fi
-	else
-		xbuild src/Heather.fsproj /p:Configuration=Release
-	fi
+	xbuild src/shelly.fsproj /p:Configuration=Release
 }
 
 src_install() {
-	insinto /usr/lib/mono/Heather/"${FRAMEWORK}"
-	doins src/bin/Release/Heather.dll
+	insinto /usr/lib/mono/shelly/"${FRAMEWORK}"
+	doins src/bin/Release/shelly.dll
 }

dev-dotnet/xsp/xsp-2.10.2-r2.ebuild

-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="5"
-
-USE_DOTNET="net35 net40 net45"
-
-inherit eutils go-mono mono user
-
-PATCHDIR="${FILESDIR}/2.2/"
-
-DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
-HOMEPAGE="http://www.mono-project.com/ASP.NET"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-RDEPEND="dev-db/sqlite:3"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-	# Added try/catch around EndRequest Record sending, bug #432750
-	epatch "${FILESDIR}/${PN}-2.10.2-endrequest.patch"
-}
-
-src_configure() {
-	default
-}
-
-pkg_preinst() {
-	enewgroup aspnet
-	# Give aspnet home dir of /tmp since it must create ~/.wapi
-	enewuser aspnet -1 -1 /tmp aspnet
-}
-
-src_install() {
-	mv_command="cp -ar" go-mono_src_install
-	newinitd "${PATCHDIR}"/xsp.initd xsp
-	newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
-	newconfd "${PATCHDIR}"/xsp.confd xsp
-	newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
-
-	keepdir /var/run/aspnet
-}
-
-pkg_postinst() {
-	chown aspnet:aspnet /var/run/aspnet
-}

dev-dotnet/xsp/xsp-2.10.2-r3.ebuild

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+USE_DOTNET="net35 net40 net45"
+
+inherit base eutils mono user
+
+PATCHDIR="${FILESDIR}/2.2/"
+
+DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
+HOMEPAGE="http://www.mono-project.com/ASP.NET"
+
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="dev-db/sqlite:3"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	# Added try/catch around EndRequest Record sending, bug #432750
+	epatch "${FILESDIR}/${PN}-2.10.2-endrequest.patch"
+}
+
+src_configure() {
+	default
+}
+
+pkg_preinst() {
+	enewgroup aspnet
+	# Give aspnet home dir of /tmp since it must create ~/.wapi
+	enewuser aspnet -1 -1 /tmp aspnet
+}
+
+src_install() {
+	mv_command="cp -ar" go-mono_src_install
+	newinitd "${PATCHDIR}"/xsp.initd xsp
+	newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
+	newconfd "${PATCHDIR}"/xsp.confd xsp
+	newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
+
+	keepdir /var/run/aspnet
+}
+
+pkg_postinst() {
+	chown aspnet:aspnet /var/run/aspnet
+}

dev-dotnet/xsp/xsp-9999.ebuild

 USE_DOTNET="net35 net40 net45"
 PATCHDIR="${FILESDIR}/2.2/"
 
-inherit eutils go-mono mono user git-2 autotools-utils
+inherit base eutils mono user git-2 autotools-utils
 
 DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
 HOMEPAGE="http://www.mono-project.com/ASP.NET"
 
+EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"

dev-lang/mono/Manifest

-DIST mono-3.0.10.tar.xz 59274224 SHA256 a378e535b61fb8ae5dbecc24cd062037d3185e6ffa5cdd18fb42018f95f0350b SHA512 b41aa237f9dbe38d6caca9a768bedcf0615450986d595ee73fbe47f15e6df5e233d700f6b56f294597102851ff0523307a99de1af7365233c94afa819f59aa04 WHIRLPOOL 270dc09d8464f2002c4c9e24870aec27363c799525142381c268ff5392eee1ca4230fa8f9f0f0ee64e0e6f8e88e694d16e359d8e417fe4102e434bb1883a0299
+DIST mono-3.0.11.tar.bz2 81342669 SHA256 bf3cc414361088b8b550391e2e318f36cf82b99a7607dd01ffd8fc9669822cdc SHA512 1832746ef443f681cb600621d60e2b186d8c8f580bb3ba6373a89f305975b26afa7a4b4e17b34c67340c533ba660e9767ca6e37c7955b551199f1a2a18cb35d2 WHIRLPOOL 8543ae50ecb577c8d275a0c6425e37c0a5149bafa2a113bb43488caf25664c200666cb05d3c472f538c2f409807e1caf15a04c5cee48fd60f97f59376861b493
 DIST mono-3.0.7.tar.bz2 81538605 SHA256 89357e58a1b5cb6ff3116d4ce8227dee61b1c0cb494fa2844da5b1fc55fb890b SHA512 b1cb57a38c22d9186fcc1cfbd344e05e24edc5d56391238311ac6b2841a4f971a32f46c3e064760045e8352140a7c4fe785a6108d945371af9de3730e186fbdd WHIRLPOOL 19f451194361d0f0fa3c403310c63cd2f444a2132693fc4b127311a57d0a1df18f917d4c373b8f8f9fbf217d5c6d85f3092ac75d6aede285ed80d3bb2b07f758

dev-lang/mono/mono-3.0.10.ebuild

-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
-
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
-HOMEPAGE="http://www.mono-project.com/Main_Page"
-SRC_URI="https://bitbucket.org/mlmoses/mashed-potatoes/downloads/${P}.tar.xz"
-
-LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~ppc"
-
-IUSE="minimal pax_kernel xen doc"
-
-COMMONDEPEND="!dev-util/monodoc
-	!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
-	ia64? (	sys-libs/libunwind )"
-RDEPEND="${COMMONDEPEND}
-	|| ( www-client/links www-client/lynx )"
-
-DEPEND="${COMMONDEPEND}
-	sys-devel/bc
-	virtual/yacc
-	pax_kernel? ( sys-apps/paxctl )"
-
-RESTRICT="test"
-
-QA_FLAGS_IGNORED="/usr/lib64/mono/4.5/mcs.exe.so \
-	/usr/lib64/mono/4.5/mscorlib.dll.so"
-
-pkg_setup() {
-	if use kernel_linux
-	then
-		get_version
-		if linux_config_exists
-		then
-			if linux_chkconfig_present SYSVIPC
-			then
-				einfo "CONFIG_SYSVIPC is set, looking good."
-			else
-				eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
-				eerror "See http://bugs.gentoo.org/261869 for more info."
-				die "Please set CONFIG_SYSVIPC in your kernel .config"
-			fi
-		else
-			ewarn "Was unable to determine your kernel .config"
-			ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
-			ewarn "See http://bugs.gentoo.org/261869 for more info."
-		fi
-	fi
-}
-
-src_prepare() {
-	go-mono_src_prepare
-	# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
-	# get killed in the build proces when MPROTEC is enable. #286280
-	# RANDMMAP kill the build proces to #347365
-	if use pax_kernel ; then
-		ewarn "We are disabling MPROTECT on the mono binary."
-		sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
-	fi
-
-	epatch "${FILESDIR}/${P}-clang-kw-thread.patch"
-}
-
-src_configure() {
-	# mono's build system is finiky, strip the flags
-	strip-flags
-
-	# Remove this at your own peril. Mono will barf in unexpected ways.
-	append-flags -fno-strict-aliasing
-
-	# NOTE: We need the static libs for now so mono-debugger works.
-	# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
-	#
-	# --without-moonlight since www-plugins/moonlight is not the only one
-	# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
-	#
-	# --with-profile4 needs to be always enabled since it's used by default
-	# and, otherwise, problems like bug #340641 appear.
-	#
-	# sgen fails on ppc, bug #359515
-	go-mono_src_configure \
-		--enable-system-aot=yes \
-		--enable-static \
-		--disable-quiet-build \
-		--without-moonlight \
-		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
-		$(use_with xen xen_opt) \
-		--without-ikvm-native \
-		--with-jit \
-		--disable-dtrace \
-		--with-profile4 \
-		--with-sgen=$(use ppc && printf "no" || printf "yes" ) \
-		$(use_with doc mcs-docs)
-}
-
-src_test() {
-	echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
-
-	export MONO_REGISTRY_PATH="${T}/registry"
-	export XDG_DATA_HOME="${T}/data"
-	export MONO_SHARED_DIR="${T}/shared"
-	export XDG_CONFIG_HOME="${T}/config"
-	export HOME="${T}/home"
-
-	emake -j1 check
-}
-
-src_install() {
-	go-mono_src_install
-
-	# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
-	# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
-	# for reference.
-	rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
-	rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
-}
-
-#THINK!!!! Before touching postrm and postinst
-#Reference phase order:
-#pkg_preinst
-#pkg_prerm
-#pkg_postrm
-#pkg_postinst
-
-pkg_preinst() {
-	local symlink
-	local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
-	local pv_atom
-	if  [[ "$(readlink "${EROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
-	then
-		for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
-		do
-			if has_version "=dev-lang/mono-${pv_atom}"
-			then
-				einfo "If you just received a file collision warning message,"
-				einfo "be advised that this is a known problem, which will now be fixed:"
-				ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
-				for symlink in						\
-					"${EROOT}/${NUNIT_DIR}"				\
-					"${EROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc"	\
-					"${EROOT}/usr/bin/nunit-console"			\
-					"${EROOT}/usr/bin/nunit-console2"
-				do
-					if [[ -L "${symlink}" ]]
-					then
-						rm -f "${symlink}" &> /dev/null
-					fi
-				done
-				eend 0
-				break
-			fi
-		done
-	fi
-}
-
-pkg_postinst() {
-	elog "PLEASE TAKE NOTE!"
-	elog ""
-	elog "Some of the namespaces supported by Mono require extra packages to be installed."
-	elog "Below is a list of namespaces and the corresponding package you must install:"
-	elog ""
-	elog ">=x11-libs/cairo-1.6.4"
-	elog "	Mono.Cairo"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Mono.Cairo"
-	elog ""
-	elog ">=dev-db/firebird-2.0.4.13130.1"
-	elog "	FirebirdSql.Data.Firebird"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Firebird_Interbase"
-	elog ""
-	elog "dev-db/sqlite:3"
-	elog "	Mono.Data.Sqlite"
-	elog "Also read:"
-	elog "http://www.mono-project.com/SQLite"
-	elog ""
-	elog ">=dev-db/oracle-instantclient-basic-10.2"
-	elog "	System.Data.OracleClient"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Oracle"
-	elog ""
-	elog "Mono also has support for packages that are not included in portage:"
-	elog ""
-	elog "No ebuild available:"
-	elog "	IBM.Data.DB2"
-	elog "Also read: http://www.mono-project.com/IBM_DB2"
-	elog ""
-	elog "No ebuild needed:"
-	elog "	Mono.Data.SybaseClient"
-	elog "Also read: http://www.mono-project.com/Sybase"
-}

dev-lang/mono/mono-3.0.11.ebuild

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.11.ebuild $
+
+EAPI="5"
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+inherit linux-info mono-env flag-o-matic pax-utils autotools-utils
+
+DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
+HOMEPAGE="http://www.mono-project.com/Main_Page"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 amd64-linux"
+IUSE="minimal pax_kernel xen doc"
+
+COMMONDEPEND="
+	!dev-util/monodoc
+	!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
+	ia64? (	sys-libs/libunwind )
+"
+RDEPEND="${COMMONDEPEND}
+	|| ( www-client/links www-client/lynx )
+"
+DEPEND="${COMMONDEPEND}
+	sys-devel/bc
+	virtual/yacc
+	pax_kernel? ( sys-apps/elfix )
+"
+
+pkg_pretend() {
+	# If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
+	# See http://bugs.gentoo.org/261869 for more info."
+	CONFIG_CHECK="SYSVIPC"
+	use kernel_linux && check_extra_config
+}
+
+pkg_setup() {
+	linux-info_pkg_setup
+	mono-env_pkg_setup
+}
+
+src_prepare() {
+	# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
+	# get killed in the build proces when MPROTEC is enable. #286280
+	# RANDMMAP kill the build proces to #347365
+	if use pax_kernel ; then
+		ewarn "We are disabling MPROTECT on the mono binary."
+		sed '/exec/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+	fi
+
+	# mono build system can fail otherwise
+	strip-flags
+
+	# Remove this at your own peril. Mono will barf in unexpected ways.
+	append-flags -fno-strict-aliasing
+
+	autotools-utils_src_prepare
+}
+
+src_configure() {
+	# NOTE: We need the static libs for now so mono-debugger works.
+	# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
+	#
+	# --without-moonlight since www-plugins/moonlight is not the only one
+	# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
+	#
+	# --with-profile4 needs to be always enabled since it's used by default
+	# and, otherwise, problems like bug #340641 appear.
+	#
+	# sgen fails on ppc, bug #359515
+	local myeconfargs=(
+		--enable-system-aot=yes
+		--enable-static
+		--disable-quiet-build
+		--without-moonlight
+		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" )
+		$(use_with xen xen_opt)
+		--without-ikvm-native
+		--with-jit
+		--disable-dtrace
+		--with-profile4
+		--with-sgen=$(use ppc && printf "no" || printf "yes" )
+		$(use_with doc mcs-docs)
+	)
+
+	autotools-utils_src_configure
+}
+
+src_test() {
+	emake check || die "tests fails"
+}
+
+src_install() {
+	autotools-utils_src_install
+
+	# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
+	# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
+	# for reference.
+	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so
+	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so
+}

dev-lang/mono/mono-3.0.12.ebuild

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.11.ebuild $
+
+EAPI="5"
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+inherit linux-info mono-env flag-o-matic pax-utils autotools-utils git-2
+
+DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
+HOMEPAGE="http://www.mono-project.com/Main_Page"
+
+EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+EGIT_HAS_SUBMODULES="true"
+EGIT_TAG="mono-${PN}"
+
+LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE="minimal pax_kernel xen doc"
+
+COMMONDEPEND="
+	!dev-util/monodoc
+	!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
+	ia64? (	sys-libs/libunwind )
+"
+RDEPEND="${COMMONDEPEND}
+	|| ( www-client/links www-client/lynx )
+"
+DEPEND="${COMMONDEPEND}
+	sys-devel/bc
+	virtual/yacc
+	pax_kernel? ( sys-apps/elfix )
+"
+
+pkg_pretend() {
+	# If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
+	# See http://bugs.gentoo.org/261869 for more info."
+	CONFIG_CHECK="SYSVIPC"
+	use kernel_linux && check_extra_config
+}
+
+pkg_setup() {
+	linux-info_pkg_setup
+	mono-env_pkg_setup
+}
+
+src_prepare() {
+	cat "${S}/mono/mini/Makefile.am.in" > "${S}/mono/mini/Makefile.am" || die
+	cat "${S}/mono/metadata/Makefile.am.in" > "${S}/mono/metadata/Makefile.am" || die
+
+	eautoreconf
+	# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
+	# get killed in the build proces when MPROTEC is enable. #286280
+	# RANDMMAP kill the build proces to #347365
+	if use pax_kernel ; then
+		ewarn "We are disabling MPROTECT on the mono binary."
+		sed '/exec/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+	fi
+
+	# mono build system can fail otherwise
+	strip-flags
+
+	# Remove this at your own peril. Mono will barf in unexpected ways.
+	append-flags -fno-strict-aliasing
+
+	autotools-utils_src_prepare
+}
+
+src_configure() {
+	# NOTE: We need the static libs for now so mono-debugger works.
+	# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
+	#
+	# --without-moonlight since www-plugins/moonlight is not the only one
+	# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
+	#
+	# --with-profile4 needs to be always enabled since it's used by default
+	# and, otherwise, problems like bug #340641 appear.
+	#
+	# sgen fails on ppc, bug #359515
+	local myeconfargs=(
+		--enable-system-aot=yes
+		--enable-static
+		--disable-quiet-build
+		--without-moonlight
+		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" )
+		$(use_with xen xen_opt)
+		--without-ikvm-native
+		--with-jit
+		--disable-dtrace
+		--with-profile4
+		--with-sgen=$(use ppc && printf "no" || printf "yes" )
+		$(use_with doc mcs-docs)
+	)
+
+	autotools-utils_src_configure
+}
+
+src_make() {
+	# Doesn't require previous mono to be installed
+	emake get-monolite-latest
+	emake EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe "$@" || die "emake failed"
+}
+
+src_test() {
+	emake check || die "tests fails"
+}
+
+src_install() {
+	autotools-utils_src_install
+
+	# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
+	# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
+	# for reference.
+	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so
+	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so
+}

dev-lang/mono/mono-3.0.7.ebuild

 # $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.7.ebuild $
 
 EAPI="5"
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
 
-inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
+inherit linux-info mono-env flag-o-matic pax-utils autotools-utils
 
 DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
 HOMEPAGE="http://www.mono-project.com/Main_Page"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
 
 LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
 SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~ppc"
-
+KEYWORDS="amd64 ppc ppc64 x86 amd64-linux"
 IUSE="minimal pax_kernel xen doc"
 
-COMMONDEPEND="!dev-util/monodoc
+COMMONDEPEND="
+	!dev-util/monodoc
 	!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
-	ia64? (	sys-libs/libunwind )"
+	ia64? (	sys-libs/libunwind )
+"
 RDEPEND="${COMMONDEPEND}
-	|| ( www-client/links www-client/lynx )"
-
+	|| ( www-client/links www-client/lynx )
+"
 DEPEND="${COMMONDEPEND}
 	sys-devel/bc
 	virtual/yacc
-	pax_kernel? ( sys-apps/paxctl )"
+	pax_kernel? ( sys-apps/elfix )
+"
 
-MAKEOPTS="${MAKEOPTS} -j1" #nowarn
-RESTRICT="test"
-
-QA_FLAGS_IGNORED="/usr/lib64/mono/4.5/mcs.exe.so \
-	/usr/lib64/mono/4.5/mscorlib.dll.so"
+pkg_pretend() {
+	# If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
+	# See http://bugs.gentoo.org/261869 for more info."
+	CONFIG_CHECK="SYSVIPC"
+	use kernel_linux && check_extra_config
+}
 
 pkg_setup() {
-	if use kernel_linux
-	then
-		get_version
-		if linux_config_exists
-		then
-			if linux_chkconfig_present SYSVIPC
-			then
-				einfo "CONFIG_SYSVIPC is set, looking good."
-			else
-				eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
-				eerror "See http://bugs.gentoo.org/261869 for more info."
-				die "Please set CONFIG_SYSVIPC in your kernel .config"
-			fi
-		else
-			ewarn "Was unable to determine your kernel .config"
-			ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
-			ewarn "See http://bugs.gentoo.org/261869 for more info."
-		fi
-	fi
+	linux-info_pkg_setup
+	mono-env_pkg_setup
 }
 
 src_prepare() {
-	go-mono_src_prepare
-	# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
+	# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
 	# get killed in the build proces when MPROTEC is enable. #286280
 	# RANDMMAP kill the build proces to #347365
 	if use pax_kernel ; then
 		ewarn "We are disabling MPROTECT on the mono binary."
-		sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+		sed '/exec/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
 	fi
-}
 
-src_configure() {
-	# mono's build system is finiky, strip the flags
+	# mono build system can fail otherwise
 	strip-flags
 
 	# Remove this at your own peril. Mono will barf in unexpected ways.
 	append-flags -fno-strict-aliasing
 
+	autotools-utils_src_prepare
+}
+
+src_configure() {
 	# NOTE: We need the static libs for now so mono-debugger works.
 	# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
 	#
 	# and, otherwise, problems like bug #340641 appear.
 	#
 	# sgen fails on ppc, bug #359515
-	go-mono_src_configure \
-		--enable-system-aot=yes \
-		--enable-static \
-		--disable-quiet-build \
-		--without-moonlight \
-		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
-		$(use_with xen xen_opt) \
-		--without-ikvm-native \
-		--with-jit \
-		--disable-dtrace \
-		--with-profile4 \
-		--with-sgen=$(use ppc && printf "no" || printf "yes" ) \
+	local myeconfargs=(
+		--enable-system-aot=yes
+		--enable-static
+		--disable-quiet-build
+		--without-moonlight
+		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" )
+		$(use_with xen xen_opt)
+		--without-ikvm-native
+		--with-jit
+		--disable-dtrace
+		--with-profile4
+		--with-sgen=$(use ppc && printf "no" || printf "yes" )
 		$(use_with doc mcs-docs)
+	)
+
+	autotools-utils_src_configure
 }
 
 src_test() {
-	echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
-
-	export MONO_REGISTRY_PATH="${T}/registry"
-	export XDG_DATA_HOME="${T}/data"
-	export MONO_SHARED_DIR="${T}/shared"
-	export XDG_CONFIG_HOME="${T}/config"
-	export HOME="${T}/home"
-
-	emake -j1 check
+	emake check || die "tests fails"
 }
 
 src_install() {
-	go-mono_src_install
+	autotools-utils_src_install
 
 	# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
 	# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
 	# for reference.
-	rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
-	rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
+	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so
+	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so
 }
-
-#THINK!!!! Before touching postrm and postinst
-#Reference phase order:
-#pkg_preinst
-#pkg_prerm
-#pkg_postrm
-#pkg_postinst
-
-pkg_preinst() {
-	local symlink
-	local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
-	local pv_atom
-	if  [[ "$(readlink "${EROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
-	then
-		for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
-		do
-			if has_version "=dev-lang/mono-${pv_atom}"
-			then
-				einfo "If you just received a file collision warning message,"
-				einfo "be advised that this is a known problem, which will now be fixed:"
-				ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
-				for symlink in						\
-					"${EROOT}/${NUNIT_DIR}"				\
-					"${EROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc"	\
-					"${EROOT}/usr/bin/nunit-console"			\
-					"${EROOT}/usr/bin/nunit-console2"
-				do
-					if [[ -L "${symlink}" ]]
-					then
-						rm -f "${symlink}" &> /dev/null
-					fi
-				done
-				eend 0
-				break
-			fi
-		done
-	fi
-}
-
-pkg_postinst() {
-	elog "PLEASE TAKE NOTE!"
-	elog ""
-	elog "Some of the namespaces supported by Mono require extra packages to be installed."
-	elog "Below is a list of namespaces and the corresponding package you must install:"
-	elog ""
-	elog ">=x11-libs/cairo-1.6.4"
-	elog "	Mono.Cairo"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Mono.Cairo"
-	elog ""
-	elog ">=dev-db/firebird-2.0.4.13130.1"
-	elog "	FirebirdSql.Data.Firebird"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Firebird_Interbase"
-	elog ""
-	elog "dev-db/sqlite:3"
-	elog "	Mono.Data.Sqlite"
-	elog "Also read:"
-	elog "http://www.mono-project.com/SQLite"
-	elog ""
-	elog ">=dev-db/oracle-instantclient-basic-10.2"
-	elog "	System.Data.OracleClient"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Oracle"
-	elog ""
-	elog "Mono also has support for packages that are not included in portage:"
-	elog ""
-	elog "No ebuild available:"
-	elog "	IBM.Data.DB2"
-	elog "Also read: http://www.mono-project.com/IBM_DB2"
-	elog ""
-	elog "No ebuild needed:"
-	elog "	Mono.Data.SybaseClient"
-	elog "Also read: http://www.mono-project.com/Sybase"
-}

dev-lang/mono/mono-9999.ebuild

 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-9999.ebuild $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.11.ebuild $
 
 EAPI="5"
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
 
-inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
+inherit linux-info mono-env flag-o-matic pax-utils autotools-utils git-2
 
 DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
 HOMEPAGE="http://www.mono-project.com/Main_Page"
 
+EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+EGIT_HAS_SUBMODULES="true"
+
 LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
 SLOT="0"
 KEYWORDS=""
+IUSE="minimal pax_kernel xen doc"
 
-IUSE="minimal pax_kernel xen"
-
-#Bash requirement is for += operator
-COMMONDEPEND="!dev-util/monodoc
-	!minimal? ( =dev-dotnet/libgdiplus-9999 )
-	ia64? (	sys-libs/libunwind )"
+COMMONDEPEND="
+	!dev-util/monodoc
+	!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
+	ia64? (	sys-libs/libunwind )
+"
 RDEPEND="${COMMONDEPEND}
-	|| ( www-client/links www-client/lynx )"
-
+	|| ( www-client/links www-client/lynx )
+"
 DEPEND="${COMMONDEPEND}
 	sys-devel/bc
 	virtual/yacc
-	>=app-shells/bash-3.2
-	pax_kernel? ( sys-apps/paxctl )"
+	pax_kernel? ( sys-apps/elfix )
+"
 
-MAKEOPTS="${MAKEOPTS} -j1" #nowarn
-RESTRICT="test"
-
-QA_FLAGS_IGNORED="/usr/lib64/mono/4.5/mcs.exe.so \
-	/usr/lib64/mono/4.5/mscorlib.dll.so"
+pkg_pretend() {
+	# If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
+	# See http://bugs.gentoo.org/261869 for more info."
+	CONFIG_CHECK="SYSVIPC"
+	use kernel_linux && check_extra_config
+}
 
 pkg_setup() {
-	if use kernel_linux
-	then
-		get_version
-		if linux_config_exists
-		then
-			if linux_chkconfig_present SYSVIPC
-			then
-				einfo "CONFIG_SYSVIPC is set, looking good."
-			else
-				eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
-				eerror "See http://bugs.gentoo.org/261869 for more info."
-				die "Please set CONFIG_SYSVIPC in your kernel .config"
-			fi
-		else
-			ewarn "Was unable to determine your kernel .config"
-			ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
-			ewarn "See http://bugs.gentoo.org/261869 for more info."
-		fi
-	fi
+	linux-info_pkg_setup
+	mono-env_pkg_setup
 }
 
 src_prepare() {
 	cat "${S}/mono/mini/Makefile.am.in" > "${S}/mono/mini/Makefile.am" || die
 	cat "${S}/mono/metadata/Makefile.am.in" > "${S}/mono/metadata/Makefile.am" || die
 
-	go-mono_src_prepare
-	# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
+	eautoreconf
+	# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
 	# get killed in the build proces when MPROTEC is enable. #286280
 	# RANDMMAP kill the build proces to #347365
 	if use pax_kernel ; then
 		ewarn "We are disabling MPROTECT on the mono binary."
-		sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+		sed '/exec/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
 	fi
-}
 
-src_configure() {
-	# mono's build system is finiky, strip the flags
+	# mono build system can fail otherwise
 	strip-flags
 
 	# Remove this at your own peril. Mono will barf in unexpected ways.
 	append-flags -fno-strict-aliasing
 
+	autotools-utils_src_prepare
+}
+
+src_configure() {
 	# NOTE: We need the static libs for now so mono-debugger works.
 	# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
 	#
 	# and, otherwise, problems like bug #340641 appear.
 	#
 	# sgen fails on ppc, bug #359515
+	local myeconfargs=(
+		--enable-system-aot=yes
+		--enable-static
+		--disable-quiet-build
+		--without-moonlight
+		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" )
+		$(use_with xen xen_opt)
+		--without-ikvm-native
+		--with-jit
+		--disable-dtrace
+		--with-profile4
+		--with-sgen=$(use ppc && printf "no" || printf "yes" )
+		$(use_with doc mcs-docs)
+	)
 
-	local myconf=""
-	use ppc && myconf="${myconf} --with-sgen=no"
-	go-mono_src_configure \
-		--enable-system-aot=yes \
-		--enable-static \
-		--disable-quiet-build \
-		--without-moonlight \
-		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
-		$(use_with xen xen_opt) \
-		--without-ikvm-native \
-		--with-jit \
-		--disable-dtrace \
-		--with-profile4 \
-		${myconf}
+	autotools-utils_src_configure
+}
+
+src_make() {
+	# Doesn't require previous mono to be installed
+	emake get-monolite-latest
+	emake EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe "$@" || die "emake failed"
 }
 
 src_test() {
-	echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
-
-	export MONO_REGISTRY_PATH="${T}/registry"
-	export XDG_DATA_HOME="${T}/data"
-	export MONO_SHARED_DIR="${T}/shared"
-	export XDG_CONFIG_HOME="${T}/config"
-	export HOME="${T}/home"
-
-	emake -j1 check
+	emake check || die "tests fails"
 }
 
 src_install() {
-	go-mono_src_install
+	autotools-utils_src_install
 
 	# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
 	# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
 	# for reference.
-	rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
-	rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
-}
-
-#THINK!!!! Before touching postrm and postinst
-#Reference phase order:
-#pkg_preinst
-#pkg_prerm
-#pkg_postrm
-#pkg_postinst
-
-pkg_preinst() {
-	local symlink
-	local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
-	local pv_atom
-	if  [[ "$(readlink "${ROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
-	then
-		for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
-		do
-			if has_version "=dev-lang/mono-${pv_atom}"
-			then
-				einfo "If you just received a file collision warning message,"
-				einfo "be advised that this is a known problem, which will now be fixed:"
-				ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
-				for symlink in						\
-					"${ROOT}/${NUNIT_DIR}"				\
-					"${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc"	\
-					"${ROOT}/usr/bin/nunit-console"			\
-					"${ROOT}/usr/bin/nunit-console2"
-				do
-					if [[ -L "${symlink}" ]]
-					then
-						rm -f "${symlink}" &> /dev/null
-					fi
-				done
-				eend 0
-				break
-			fi
-		done
-	fi
-}
-
-pkg_postinst() {
-	elog "PLEASE TAKE NOTE!"
-	elog ""
-	elog "Some of the namespaces supported by Mono require extra packages to be installed."
-	elog "Below is a list of namespaces and the corresponding package you must install:"
-	elog ""
-	elog ">=x11-libs/cairo-1.6.4"
-	elog "	Mono.Cairo"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Mono.Cairo"
-	elog ""
-	elog ">=dev-db/firebird-2.0.4.13130.1"
-	elog "	FirebirdSql.Data.Firebird"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Firebird_Interbase"
-	elog ""
-	elog "dev-db/sqlite:3"
-	elog "	Mono.Data.Sqlite"
-	elog "Also read:"
-	elog "http://www.mono-project.com/SQLite"
-	elog ""
-	elog ">=dev-db/oracle-instantclient-basic-10.2"
-	elog "	System.Data.OracleClient"
-	elog "Also read:"
-	elog "http://www.mono-project.com/Oracle"
-	elog ""
-	elog "Mono also has support for packages that are not included in portage:"
-	elog ""
-	elog "No ebuild available:"
-	elog "	IBM.Data.DB2"
-	elog "Also read: http://www.mono-project.com/IBM_DB2"
-	elog ""
-	elog "No ebuild needed:"
-	elog "	Mono.Data.SybaseClient"
-	elog "Also read: http://www.mono-project.com/Sybase"
-}
+	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so
+	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so
+}

dev-lang/nemerle/Manifest

 DIST v1.1b.tar.gz 11495185 SHA256 fc1f48271a87456665b3a14c3f9456c00ef68621a5c4a2b7cb497906fb298737 SHA512 2c692908c0a94343077ef226e112313d1d9e38aa9e71531cb4d9136f30e84ce62fb58f49d047b54172b866aa9b4c07ccb3aedc56ab313559ecba8e3d0b82fdf5 WHIRLPOOL 5ebc53f754b751974a3dd04f1e97301317cfaa2a7a995e96ba35c6d612b9500fd6dd37a451b06b7aa9c7a431360cdb9a68acc375604eca4614ed09b9bc409918
+DIST v1.2.tar.gz 16734095 SHA256 47afeb3cb3d42db917aff21082cd9460b1d25a9e62cb90e502fa5438a9075fb5 SHA512 ecfea56a846381c386b0099ae3bdcbab9a369d5db1aff856afe56d4fb678e0af7d45e3cfc1ff644391ecc56d170de06a9805b8bfd00a050e666ca5feb2dc4599 WHIRLPOOL 97960348c7967dcb0f759143d135db9e305f3766afaf858eed4c4f0d79ad123347ee40ba3477c9d80d7f1d5e443a04a39c0ac946fa672eefbda548a82cce1b90

dev-lang/nemerle/nemerle-1.2.ebuild

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+USE_DOTNET="net35 net40 net45"
+
+inherit mono multilib
+
+DESCRIPTION="A hybrid programming language for .NET / Mono platforms"
+HOMEPAGE="http://www.nemerle.org/"
+
+SRC_URI="https://github.com/rsdn/nemerle/archive/v${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND=">dev-lang/mono-2.11.3"
+RDEPEND="${DEPEND}"
+
+pkg_pretend() {
+	if [[ ${MERGE_TYPE} != buildonly ]] && has collision-protect ${FEATURES}; then
+		if [ -f /usr/bin/ncc]; then
+			eerror "FEATURES=\"collision-protect\" is enabled, which will prevent overwriting"
+			eerror "symlinks that were formerly managed by eselect opengl. You must disable"
+			eerror "collision-protect or remove /usr/bin/ncc"
+			die "collision-protect cannot overwrite libGLU$(get_libname)*"
+		fi
+	fi
+}
+
+src_configure() { :; }
+
+src_compile() {
+	elog "Nemerle sources compiling : "
+	exbuild NemerleAll-Mono.nproj /t:Stage1
+}
+
+src_install()
+{
+	elog "Installing libraries"
+	insinto "/usr/$(get_libdir)/mono/${PN}/${FRAMEWORK}"
+	doins bin/Release/mono-"${FRAMEWORK}"/Stage1/*.dll || die "installing libraries failed"
+	elog "Registering libraries to egac"
+	local nemerledll=bin/Release/mono-"${FRAMEWORK}"/Stage1/Nemerle.dll
+	egacinstall "${nemerledll}" \
+		|| die "couldn't install ${nemerledll} in the global assembly cache"
+	local nemerlecompilerdll=bin/Release/mono-"${FRAMEWORK}"/Stage1/Nemerle.Compiler.dll
+	egacinstall "${nemerlecompilerdll}" \
+		|| die "couldn't install ${nemerlecompilerdll} in the global assembly cache"
+	local nemerlemacrosdll=bin/Release/mono-"${FRAMEWORK}"/Stage1/Nemerle.Macros.dll
+	egacinstall "${nemerlemacrosdll}" \
+		|| die "couldn't install ${nemerlemacrosdll} in the global assembly cache"
+	elog "Installing ncc"
+	dodoc README AUTHORS INSTALL NEWS
+	into /usr
+	doins bin/Release/mono-"${FRAMEWORK}"/Stage1/ncc.exe
+}
+
+pkg_postinst() {
+	echo "mono /usr/$(get_libdir)/mono/${PN}/${FRAMEWORK}/ncc.exe \"\$@\"" > /usr/bin/ncc
+	chmod 777 /usr/bin/ncc
+}

dev-lang/nemerle/nemerle-9999.ebuild

 KEYWORDS=""
 IUSE="+binary -indent"
 
-if use Ashlyn; then
+if use indent; then
 	ewarn "indent is very experimental branch"
 	ewarn "usual Nemerle code will definetly fail."
 	EGIT_REPO_URI="git://github.com/Heather/Nemerle.git"

dev-util/mono-debugger/mono-debugger-9999.ebuild

 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/dev-util/mono-debugger/mono-debugger-9999.ebuild $
 
-EAPI=4
+EAPI=5
 
-inherit go-mono mono autotools flag-o-matic eutils
+inherit base mono autotools flag-o-matic eutils git-2
 
 DESCRIPTION="Debugger for .NET managed and unmanaged applications"
 HOMEPAGE="http://www.mono-project.com/"
 
+EGIT_REPO_URI="git://github.com/mono/debugger.git"
+
 LICENSE="GPL-2 MIT"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~x86 ~amd64"
 IUSE=""
 
 RESTRICT="test"
 	!dev-lang/mercury"
 
 src_prepare() {
-	go-mono_src_prepare
+	base_src_prepare
 
 	# Allow compilation against system libbfd, bnc#662581
 	epatch "${FILESDIR}/${PN}-2.8-system-bfd.patch"
 
 src_configure() {
 	append-ldflags -Wl,--no-undefined #nowarn
-
-	go-mono_src_configure \
-		--with-system-libbfd \
-		--disable-static
+	econf 	--disable-dependency-tracking		\
+		--disable-static			\
+		--with-system-libbfd 		\
+		--disable-static || die "econf failed"
 }
 
 src_compile() {
-	emake -j1 #nowarn
+	emake -j1 || die "emake failed" #nowarn
 }

dev-util/mono-tools/mono-tools-9999.ebuild

 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-9999.ebuild $
 
-EAPI="4"
+EAPI=5
 
-inherit go-mono mono autotools
+inherit base mono autotools git-2
 
 DESCRIPTION="Set of useful Mono related utilities"
 HOMEPAGE="http://www.mono-project.com/"
 
+EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+
 LICENSE="GPL-2 MIT"
 SLOT="0"
 KEYWORDS=""
 IUSE="+webkit gtkhtml"
 
-RDEPEND="=virtual/monodoc-${GO_MONO_REL_PV}*
+RDEPEND="virtual/monodoc
 	>=dev-dotnet/gtk-sharp-2.12.6:2
 	>=dev-dotnet/glade-sharp-2.12.6:2
 	>=dev-dotnet/gconf-sharp-2:2
 	gtkhtml? ( >=dev-dotnet/gtkhtml-sharp-2.24.0:2 )
 	webkit? ( >=dev-dotnet/webkit-sharp-0.2-r1 )"
-
 DEPEND="${RDEPEND}
 	sys-devel/gettext
 	virtual/pkgconfig"
-
 PATCHES=( "${FILESDIR}/${PN}-2.8-html-renderer-fixes.patch" )
-
 MAKEOPTS="${MAKEOPTS} -j1" #nowarn
 pkg_setup() {
 	if ! use webkit && ! use gtkhtml
 }
 
 src_prepare() {
-	go-mono_src_prepare
+	base_src_prepare
 
 	# Stop getting ACLOCAL_FLAGS command not found problem like bug #298813
 	sed -i -e '/ACLOCAL_FLAGS/d' Makefile.am || die
 		--disable-gecko \
 		$(use_enable gtkhtml) \
 		$(use_enable webkit) \
-		--disable-monowebbrowser
+		--disable-monowebbrowser || die
 }

dev-util/monodevelop/monodevelop-4.0.ebuild

-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/monodevelop/monodevelop-4.0.ebuild Exp $
-
-EAPI=5
-inherit fdo-mime gnome2-utils mono versionator eutils
-
-DESCRIPTION="Integrated Development Environment for .NET"
-HOMEPAGE="http://www.monodevelop.com/"
-SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-#IT'S STABLE!
-KEYWORDS="amd64 x86"
-IUSE="+subversion +git"
-
-RDEPEND=">=dev-lang/mono-3.0.1
-	>=dev-dotnet/gconf-sharp-2.24.0
-	>=dev-dotnet/glade-sharp-2.12.9
-	>=dev-dotnet/gnome-sharp-2.24.0
-	>=dev-dotnet/gnomevfs-sharp-2.24.0
-	>=dev-dotnet/gtk-sharp-2.12.9
-	>=dev-dotnet/mono-addins-0.6[gtk]
-	>=dev-dotnet/xsp-2
-	dev-util/ctags
-	sys-apps/dbus[X]
-	>=virtual/monodoc-2.0
-	|| (
-		www-client/firefox
-		www-client/firefox-bin
-		www-client/seamonkey
-		)
-	subversion? ( dev-vcs/subversion )
-	!<dev-util/monodevelop-boo-$(get_version_component_range 1-2)
-	!<dev-util/monodevelop-java-$(get_version_component_range 1-2)
-	!<dev-util/monodevelop-database-$(get_version_component_range 1-2)
-	!<dev-util/monodevelop-debugger-gdb-$(get_version_component_range 1-2)
-	!<dev-util/monodevelop-debugger-mdb-$(get_version_component_range 1-2)
-	!<dev-util/monodevelop-vala-$(get_version_component_range 1-2)"
-DEPEND="${RDEPEND}
-	dev-util/intltool
-	virtual/pkgconfig
-	sys-devel/gettext
-	x11-misc/shared-mime-info"
-
-MAKEOPTS="${MAKEOPTS} -j1" #nowarn
-src_configure() {
-	econf \
-		--disable-update-mimedb \
-		--disable-update-desktopdb \
-		--enable-monoextensions \
-		--enable-gnomeplatform \
-		$(use_enable subversion) \
-		$(use_enable git)
-}
-
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-	fdo-mime_mime_database_update
-	fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-	fdo-mime_mime_database_update
-	fdo-mime_desktop_database_update
-}

eclass/go-mono-2.eclass

-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: go-mono.eclass
-# @MAINTAINERS:
-# heather@cynede.net
-# @BLURB: Common functionality for go-mono.org apps
-# @DESCRIPTION:
-# Common functionality needed by all go-mono.org apps.
-
-inherit base versionator mono autotools git-2
-
-PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
-
-GIT_PN="${PN/mono-debugger/debugger}"
-
-ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/mono"
-
-GO_MONO_SUB_BRANCH=${GO_MONO_SUB_BRANCH}
-
-if [[ "${PV}" == "9999" ]]
-then
-	GO_MONO_P=${P}
-	EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
-	SRC_URI=""
-elif [[ "${PV%.9999}" != "${PV}" ]]
-then
-	GO_MONO_P=${P}
-	EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
-	EGIT_BRANCH="mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}"
-	SRC_URI=""
-else
-	GO_MONO_P=${P}
-	EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
-	EGIT_BRANCH="master"
-	EGIT_TAG="mono-${PN}"
-	SRC_URI="" #S="${WORKDIR}/${PN}-${P}"
-fi
-
-NO_MONO_DEPEND=( "dev-lang/mono" "dev-dotnet/libgdiplus" "dev-dotnet/gluezilla" )
-
-if [[ "$(get_version_component_range 3)" != "9999" ]]
-then
-	GO_MONO_REL_PV="$(get_version_component_range 1-2)"
-else
-	GO_MONO_REL_PV="${PV}"
-fi
-
-if ! has "${CATEGORY}/${PN}" "${NO_MONO_DEPEND[@]}"
-then
-	RDEPEND="dev-lang/mono" # = -${GO_MONO_REL_PV}*
-	DEPEND="${RDEPEND}"
-fi
-
-DEPEND="${DEPEND}
-	virtual/pkgconfig
-	userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
-
-# @FUNCTION: go-mono-2_src_unpack
-# @DESCRIPTION: Runs default()
-go-mono-2_src_unpack() {
-	default
-	git-2_src_unpack
-}
-
-# @FUNCTION: go-mono-2_src_prepare
-# @DESCRIPTION: Runs autopatch from base.eclass, if PATCHES is set.
-go-mono-2_src_prepare() {
-	base_src_prepare
-	[[ "$EAUTOBOOTSTRAP" != "no" ]] && eautoreconf
-}
-
-# @FUNCTION: go-mono-2_src_configure
-# @DESCRIPTION:
-# Runs econf, disabling static libraries and dependency-tracking.
-go-mono-2_src_configure() {
-	econf --disable-dependency-tracking		\
-		--disable-static			\
-		"$@"
-}
-
-# @FUNCTION: go-mono_src_compile
-# @DESCRIPTION:
-# Runs emake.
-go-mono-2_src_compile() {
-	emake "$@" || die "emake failed"
-}
-
-# @ECLASS-VARIABLE: DOCS
-# @DESCRIPTION:
-# Insert path of docs you want installed. If more than one,
-# consider using an array.
-
-# @FUNCTION: go-mono_src_install
-# @DESCRIPTION:
-# Rune emake, installs common doc files, if DOCS is
-# set, installs those. Gets rid of .la files.
-go-mono-2_src_install () {
-	emake -j1 DESTDIR="${D}" "$@" install || die "install failed"
-	mono_multilib_comply
-	local	commondoc=( AUTHORS ChangeLog README TODO )
-	for docfile in "${commondoc[@]}"
-	do
-		[[ -e "${docfile}" ]] && dodoc "${docfile}"
-	done
-	if [[ "${DOCS[@]}" ]]
-	then
-		dodoc "${DOCS[@]}" || die "dodoc DOCS failed"
-	fi
-	find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
-}
-
-EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install

eclass/go-mono.eclass

-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: go-mono.eclass
-# @MAINTAINERS:
-# heather@cynede.net, dotnet@gentoo.org
-# @BLURB: Common functionality for go-mono.org apps
-# @DESCRIPTION:
-# Common functionality needed by all go-mono.org apps.
-
-inherit base versionator mono
-
-PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
-
-GIT_PN="${PN/mono-debugger/debugger}"
-
-ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/mono"
-
-GO_MONO_SUB_BRANCH=${GO_MONO_SUB_BRANCH}
-
-if [[ "${PV%_rc*}" != "${PV}" ]]
-then
-	GO_MONO_P="${P%_rc*}"
-	SRC_URI="${PRE_URI}/${PN}/${GO_MONO_P}.tar.bz2 -> ${P}.tar.bz2"
-	S="${WORKDIR}/${GO_MONO_P}"
-elif [[ "${PV%_pre*}" != "${PV}" ]]
-then
-	GO_MONO_P="${P%_pre*}"
-	SRC_URI="${PRE_URI}/${PN}/${GO_MONO_P}.tar.bz2 -> ${P}.tar.bz2"
-	S="${WORKDIR}/${GO_MONO_P}"
-elif [[ "${PV}" == "9999" ]]
-then
-	GO_MONO_P=${P}
-	EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
-	SRC_URI=""
-	inherit autotools git-2
-elif [[ "${PV%.9999}" != "${PV}" ]]
-then
-	GO_MONO_P=${P}
-	EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
-	EGIT_BRANCH="mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}"
-	SRC_URI=""
-	inherit autotools git-2
-else
-	GO_MONO_P=${P}
-	SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
-fi
-
-NO_MONO_DEPEND=( "dev-lang/mono" "dev-dotnet/libgdiplus" "dev-dotnet/gluezilla" )
-
-if [[ "$(get_version_component_range 3)" != "9999" ]]
-then
-	GO_MONO_REL_PV="$(get_version_component_range 1-2)"
-else
-	GO_MONO_REL_PV="${PV}"
-fi
-
-if ! has "${CATEGORY}/${PN}" "${NO_MONO_DEPEND[@]}"
-then
-	RDEPEND="dev-lang/mono" # = -${GO_MONO_REL_PV}*
-	DEPEND="${RDEPEND}"
-fi
-
-DEPEND="${DEPEND}
-	virtual/pkgconfig
-	userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
-
-# @FUNCTION: go-mono_src_unpack
-# @DESCRIPTION: Runs default()
-go-mono_src_unpack() {
-	if [[ "${PV%.9999}" != "${PV}" ||  "${PV}" == "9999" ]]
-	then
-		default
-		git-2_src_unpack
-	else
-		default
-	fi
-}
-
-# @FUNCTION: go-mono_src_prepare
-# @DESCRIPTION: Runs autopatch from base.eclass, if PATCHES is set.
-go-mono_src_prepare() {
-	if [[ "${PV%.9999}" != "${PV}" ||  "${PV}" == "9999" ]]
-	then
-		base_src_prepare
-		[[ "$EAUTOBOOTSTRAP" != "no" ]] && eautoreconf
-	else
-		base_src_prepare
-	fi
-}
-
-# @FUNCTION: go-mono_src_configure
-# @DESCRIPTION:
-# Runs econf, disabling static libraries and dependency-tracking.
-go-mono_src_configure() {
-	econf --disable-dependency-tracking		\
-		--disable-static			\
-		"$@"
-}
-
-# @FUNCTION: go-mono_src_compile
-# @DESCRIPTION:
-# Runs emake.
-go-mono_src_compile() {
-	emake "$@" || die "emake failed"
-}
-
-# @ECLASS-VARIABLE: DOCS
-# @DESCRIPTION:
-# Insert path of docs you want installed. If more than one,
-# consider using an array.
-
-# @FUNCTION: go-mono_src_install
-# @DESCRIPTION:
-# Rune emake, installs common doc files, if DOCS is
-# set, installs those. Gets rid of .la files.
-go-mono_src_install () {
-	emake -j1 DESTDIR="${D}" "$@" install || die "install failed"
-	mono_multilib_comply
-	local	commondoc=( AUTHORS ChangeLog README TODO )
-	for docfile in "${commondoc[@]}"
-	do
-		[[ -e "${docfile}" ]] && dodoc "${docfile}"
-	done
-	if [[ "${DOCS[@]}" ]]
-	then
-		dodoc "${DOCS[@]}" || die "dodoc DOCS failed"
-	fi
-	find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
-}
-
-EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install

eclass/mono-env.eclass

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/mono-env.eclass $
+
+# @ECLASS: mono-env.eclass
+# @MAINTAINER:
+# dotnet@gentoo.org
+# @BLURB: Set environment variables commonly used by dotnet packages.
+# @DESCRIPTION:
+# Set environment variables commonly used by dotnet packages.
+
+EXPORT_FUNCTIONS pkg_setup
+
+if [[ ! ${_MONO_ENV} ]]; then
+
+mono-env_pkg_setup() {
+	# >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the
+	# shared dir to ${T} so that ${T}/.wapi can be used during the install process.
+	export MONO_SHARED_DIR="${T}"
+
+	# export more variables as needed by other dotnet packages
+	export MONO_REGISTRY_PATH="${T}/registry"
+	export XDG_DATA_HOME="${T}/data"
+
+	# Building mono, nant and many other dotnet packages is known to fail if LC_ALL
+	# variable is not set to C. To prevent this all mono related packages will be
+	# build with LC_ALL=C (see bugs #146424, #149817)
+	export LC_ALL=C
+
+	# Monodevelop-using applications need this to be set or they will try to create config
+	# files in the user's ~ dir.
+	export XDG_CONFIG_HOME="${T}"
+
+	# Fix bug 83020:
+	# "Access Violations Arise When Emerging Mono-Related Packages with MONO_AOT_CACHE"
+	unset MONO_AOT_CACHE
+
+	# mono libs can live on /usr/lib as they are not arch specific
+	QA_MULTILIB_PATHS="usr/lib/"
+}
+
+_MONO_ENV=1
+fi

eclass/nuget.eclass

 fi
 if [[ $PV == *_alpha* ]]
 then
-   	NPV=${PV/_/-}
+   	NPV=${PVR/_/-}
 else
-   	NPV=${PV}
+   	NPV=${PVR}
 fi
 
 # @FUNCTION: nuget_src_unpack
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.