summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2007-02-24 06:46:04 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2007-02-24 06:46:04 +0000
commit4647290c4e7bd8028a7d921284c65d19eca27eec (patch)
tree52a67f10a48677a3e3facd3777b0888e77f7f84f /dev-dotnet/nant
parentfix for current mono builds (diff)
downloadgentoo-2-4647290c4e7bd8028a7d921284c65d19eca27eec.tar.gz
gentoo-2-4647290c4e7bd8028a7d921284c65d19eca27eec.tar.bz2
gentoo-2-4647290c4e7bd8028a7d921284c65d19eca27eec.zip
prune old versions
(Portage version: 2.1.2-r10)
Diffstat (limited to 'dev-dotnet/nant')
-rw-r--r--dev-dotnet/nant/ChangeLog9
-rw-r--r--dev-dotnet/nant/files/digest-nant-0.85_rc33
-rw-r--r--dev-dotnet/nant/files/digest-nant-0.85_rc3-r13
-rw-r--r--dev-dotnet/nant/files/nant-0.85-rc2-is-unix.diff13
-rw-r--r--dev-dotnet/nant/files/nant-0.85-rc2-profile.diff13
-rw-r--r--dev-dotnet/nant/files/nant-0.85-rc3-mono-1.1.7-compat.diff178
-rw-r--r--dev-dotnet/nant/files/nant-0.85_rc3-assignfix.diff11
-rw-r--r--dev-dotnet/nant/nant-0.85_rc3-r1.ebuild54
-rw-r--r--dev-dotnet/nant/nant-0.85_rc3.ebuild77
9 files changed, 8 insertions, 353 deletions
diff --git a/dev-dotnet/nant/ChangeLog b/dev-dotnet/nant/ChangeLog
index cc0267ad57b0..191e6ea417e6 100644
--- a/dev-dotnet/nant/ChangeLog
+++ b/dev-dotnet/nant/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-dotnet/nant
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.12 2007/02/24 06:39:55 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.13 2007/02/24 06:46:04 compnerd Exp $
+
+ 24 Feb 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+ -files/nant-0.85-rc2-is-unix.diff, -files/nant-0.85-rc2-profile.diff,
+ -files/nant-0.85-rc3-mono-1.1.7-compat.diff,
+ -files/nant-0.85_rc3-assignfix.diff, -nant-0.85_rc3.ebuild,
+ -nant-0.85_rc3-r1.ebuild:
+ prune old versions
24 Feb 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+files/nant-0.85-obselencense.patch, nant-0.85.ebuild:
diff --git a/dev-dotnet/nant/files/digest-nant-0.85_rc3 b/dev-dotnet/nant/files/digest-nant-0.85_rc3
deleted file mode 100644
index 9d18abdbe67b..000000000000
--- a/dev-dotnet/nant/files/digest-nant-0.85_rc3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 64867347ec78a0e67f8e510fa5e14ac9 nant-0.85-rc3-src.tar.gz 1965686
-RMD160 ab49adba684beb71c7fde7107117fdef0d6ca315 nant-0.85-rc3-src.tar.gz 1965686
-SHA256 bb213b7d79b4ea9944bb9afe7607c523127d15dd329a3c7a4019ac7054ad42a4 nant-0.85-rc3-src.tar.gz 1965686
diff --git a/dev-dotnet/nant/files/digest-nant-0.85_rc3-r1 b/dev-dotnet/nant/files/digest-nant-0.85_rc3-r1
deleted file mode 100644
index 4502eff712f8..000000000000
--- a/dev-dotnet/nant/files/digest-nant-0.85_rc3-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 eed9980f549f4a1d0163058393951dd7 nant-0.85-nightly-2005-12-13-src.tar.gz 2014018
-RMD160 05e77e6ac44f239aecd75e795328c5865ba68c87 nant-0.85-nightly-2005-12-13-src.tar.gz 2014018
-SHA256 ee048c3e9d2e6a5f93b832b3b5886a4cb9991f805ad0c82d090d5fa0824e42de nant-0.85-nightly-2005-12-13-src.tar.gz 2014018
diff --git a/dev-dotnet/nant/files/nant-0.85-rc2-is-unix.diff b/dev-dotnet/nant/files/nant-0.85-rc2-is-unix.diff
deleted file mode 100644
index 10f683d14770..000000000000
--- a/dev-dotnet/nant/files/nant-0.85-rc2-is-unix.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -aur nant-0.85-rc1-orig/src/NAnt.Core/PlatformHelper.cs nant-0.85-rc1/src/NAnt.Core/PlatformHelper.cs
---- nant-0.85-rc1-orig/src/NAnt.Core/PlatformHelper.cs 2004-07-03 03:34:40.000000000 -0400
-+++ nant-0.85-rc1/src/NAnt.Core/PlatformHelper.cs 2004-11-29 20:51:52.819156744 -0500
-@@ -49,7 +49,8 @@
- IsWin32 = false;
- }
-
-- if (Environment.Version.Major == 1) {
-+ if (Environment.Version.Major == 1 ||
-+ Environment.Version.Major == 2) {
- // on the Mono 1.0 profile, the value for unix is 128
- // (MS.NET 1.x does not have an enum field for unix)
- if ((int) platformID == 128) {
diff --git a/dev-dotnet/nant/files/nant-0.85-rc2-profile.diff b/dev-dotnet/nant/files/nant-0.85-rc2-profile.diff
deleted file mode 100644
index 5a59e6ffefe8..000000000000
--- a/dev-dotnet/nant/files/nant-0.85-rc2-profile.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -aur nant-0.85-rc2-orig/src/NAnt.Console/App.config nant-0.85-rc2/src/NAnt.Console/App.config
---- nant-0.85-rc2-orig/src/NAnt.Console/App.config 2005-02-06 10:00:12.000000000 -0500
-+++ nant-0.85-rc2/src/NAnt.Console/App.config 2005-03-14 23:28:59.000000000 -0500
-@@ -845,8 +845,8 @@
- </assemblyBinding>
- </runtime>
- <startup>
-- <supportedRuntime version="v2.0.40607" />
- <supportedRuntime version="v1.1.4322" />
-+ <supportedRuntime version="v2.0.40607" />
- <supportedRuntime version="v1.0.3705" />
- </startup>
- </configuration>
diff --git a/dev-dotnet/nant/files/nant-0.85-rc3-mono-1.1.7-compat.diff b/dev-dotnet/nant/files/nant-0.85-rc3-mono-1.1.7-compat.diff
deleted file mode 100644
index 42c683400ee8..000000000000
--- a/dev-dotnet/nant/files/nant-0.85-rc3-mono-1.1.7-compat.diff
+++ /dev/null
@@ -1,178 +0,0 @@
-Only in nant-0.85-rc3: build
-diff -aur nant-0.85-rc3-orig/src/NAnt.DotNet/Tasks/AssemblyInfoTask.cs nant-0.85-rc3/src/NAnt.DotNet/Tasks/AssemblyInfoTask.cs
---- nant-0.85-rc3-orig/src/NAnt.DotNet/Tasks/AssemblyInfoTask.cs 2005-04-16 07:55:12.000000000 -0400
-+++ nant-0.85-rc3/src/NAnt.DotNet/Tasks/AssemblyInfoTask.cs 2005-05-12 15:10:56.000000000 -0400
-@@ -323,7 +323,6 @@
-
- private CodeLanguage _language;
- private readonly ICodeGenerator _generator;
-- private readonly AssemblyInfoTask _assemblyInfoTask;
-
- #endregion Private Instance Fields
-
-@@ -353,7 +352,6 @@
-
- _generator = provider.CreateGenerator();
- _language = codeLanguage;
-- _assemblyInfoTask = assemblyInfoTask;
- }
-
- #endregion Public Instance Constructors
-diff -aur nant-0.85-rc3-orig/src/NAnt.DotNet/Tasks/ScriptTask.cs nant-0.85-rc3/src/NAnt.DotNet/Tasks/ScriptTask.cs
---- nant-0.85-rc3-orig/src/NAnt.DotNet/Tasks/ScriptTask.cs 2005-04-16 07:55:12.000000000 -0400
-+++ nant-0.85-rc3/src/NAnt.DotNet/Tasks/ScriptTask.cs 2005-05-12 15:11:19.000000000 -0400
-@@ -502,12 +502,10 @@
- }
-
- internal class CompilerInfo {
-- private LanguageId _lang;
- public readonly ICodeCompiler Compiler;
- public readonly ICodeGenerator CodeGen;
-
- public CompilerInfo(LanguageId languageId, CodeDomProvider provider) {
-- _lang = languageId;
-
- Compiler = provider.CreateCompiler();
- CodeGen = provider.CreateGenerator();
-diff -aur nant-0.85-rc3-orig/src/NAnt.NUnit/NUnit1/XmlResultFormatter.cs nant-0.85-rc3/src/NAnt.NUnit/NUnit1/XmlResultFormatter.cs
---- nant-0.85-rc3-orig/src/NAnt.NUnit/NUnit1/XmlResultFormatter.cs 2004-12-23 22:54:08.000000000 -0500
-+++ nant-0.85-rc3/src/NAnt.NUnit/NUnit1/XmlResultFormatter.cs 2005-05-12 15:13:01.000000000 -0400
-@@ -172,13 +172,11 @@
-
- #region Private Static Fields
-
-- const string ElementTestSuites = "testsuites";
- const string ElementTestSuite = "testsuite";
- const string ElementTestCase = "testcase";
- const string ElementError = "error";
- const string ElementFailure = "failure";
-
-- const string AttributePackage = "package";
- const string AttributeName = "name";
- const string AttributeTime = "time";
- const string AttributeErrors = "errors";
-diff -aur nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/ChangeLogTask.cs nant-0.85-rc3/src/NAnt.SourceControl/Tasks/ChangeLogTask.cs
---- nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/ChangeLogTask.cs 2004-11-10 02:33:44.000000000 -0500
-+++ nant-0.85-rc3/src/NAnt.SourceControl/Tasks/ChangeLogTask.cs 2005-05-12 15:19:49.000000000 -0400
-@@ -65,8 +65,6 @@
-
- #region Private Static Fields
-
-- private static readonly log4net.ILog Logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
--
- #endregion Private Static Fields
-
- #region Public Instance Properties
-diff -aur nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/CvsTask.cs nant-0.85-rc3/src/NAnt.SourceControl/Tasks/CvsTask.cs
---- nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/CvsTask.cs 2005-02-13 14:29:26.000000000 -0500
-+++ nant-0.85-rc3/src/NAnt.SourceControl/Tasks/CvsTask.cs 2005-05-12 15:20:19.000000000 -0400
-@@ -50,7 +50,6 @@
- public class CvsTask : AbstractCvsTask {
-
- #region Private Instance Fields
-- private static readonly log4net.ILog Logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-
- private string _commandName;
- #endregion
-diff -aur nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/ExportTask.cs nant-0.85-rc3/src/NAnt.SourceControl/Tasks/ExportTask.cs
---- nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/ExportTask.cs 2004-12-30 14:45:54.000000000 -0500
-+++ nant-0.85-rc3/src/NAnt.SourceControl/Tasks/ExportTask.cs 2005-05-12 15:20:57.000000000 -0400
-@@ -76,10 +76,6 @@
- public class ExportTask : AbstractCvsTask {
- #region Private Instance Fields
-
-- private static readonly log4net.ILog Logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
--
-- private ArgumentCollection _exportFiles = new ArgumentCollection();
--
- #endregion
-
- #region Public Constants
-@@ -190,10 +186,6 @@
- set {SetCommandOption("date", String.Format(CultureInfo.InvariantCulture,"\"-D {0}\"", DateParser.GetCvsDateString(value)), true);}
- }
-
-- private bool HasDate {
-- get {return !(null == CommandOptions["date"]);}
-- }
--
- /// <summary>
- /// Specify a directory name to replace the module name. Valid names
- /// include any valid filename, excluding path information.
-diff -aur nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/RTagTask.cs nant-0.85-rc3/src/NAnt.SourceControl/Tasks/RTagTask.cs
---- nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/RTagTask.cs 2005-04-13 16:16:50.000000000 -0400
-+++ nant-0.85-rc3/src/NAnt.SourceControl/Tasks/RTagTask.cs 2005-05-12 15:21:16.000000000 -0400
-@@ -86,8 +86,6 @@
-
- #region Private Static Fields
-
-- private static readonly log4net.ILog Logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
--
- #endregion Private Static Fields
-
- #region Public Instance Properties
-diff -aur nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/TagTask.cs nant-0.85-rc3/src/NAnt.SourceControl/Tasks/TagTask.cs
---- nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/TagTask.cs 2005-04-13 16:16:52.000000000 -0400
-+++ nant-0.85-rc3/src/NAnt.SourceControl/Tasks/TagTask.cs 2005-05-12 15:21:39.000000000 -0400
-@@ -87,8 +87,6 @@
-
- #region Private Static Fields
-
-- private static readonly log4net.ILog Logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
--
- #endregion Private Static Fields
-
- #region Public Instance Properties
-diff -aur nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/UpdateTask.cs nant-0.85-rc3/src/NAnt.SourceControl/Tasks/UpdateTask.cs
---- nant-0.85-rc3-orig/src/NAnt.SourceControl/Tasks/UpdateTask.cs 2004-07-21 07:51:46.000000000 -0400
-+++ nant-0.85-rc3/src/NAnt.SourceControl/Tasks/UpdateTask.cs 2005-05-12 15:22:03.000000000 -0400
-@@ -198,9 +198,6 @@
-
- #region Private Static Fields
-
-- private static readonly log4net.ILog Logger =
-- log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
--
- #endregion Private Static Fields
-
- #region Public Constants
-diff -aur nant-0.85-rc3-orig/tests/NAnt.Console/NAntTest.cs nant-0.85-rc3/tests/NAnt.Console/NAntTest.cs
---- nant-0.85-rc3-orig/tests/NAnt.Console/NAntTest.cs 2005-02-20 07:29:52.000000000 -0500
-+++ nant-0.85-rc3/tests/NAnt.Console/NAntTest.cs 2005-04-21 00:08:30.000000000 -0400
-@@ -54,9 +54,9 @@
- //check absolute
- Assert.IsTrue(0 == ConsoleDriver.Main(new string[] {@"-buildfile:" + build1FileName}), "Using absolute filepath failed");
- //check relative path, should be resolvable via currentdirectory
-- Assert.IsTrue(0 == ConsoleDriver.Main(new string[] {"-buildfile:.\\" + filename}), "Using relative filepath failed");
-+ Assert.IsTrue(0 == ConsoleDriver.Main(new string[] {"-buildfile:./" + filename}), "Using relative filepath failed");
- //check relative path, should be resolvable via currentdirectory
-- Assert.IsTrue(0 == ConsoleDriver.Main(new string[] {"-buildfile:..\\foo\\" + filename}), "Using relative filepath failed");
-+ Assert.IsTrue(0 == ConsoleDriver.Main(new string[] {"-buildfile:../foo/" + filename}), "Using relative filepath failed");
- } catch (Exception e) {
- e.ToString();
- errors = true;
-diff -aur nant-0.85-rc3-orig/tests/NAnt.Core/ExceptionTest.cs nant-0.85-rc3/tests/NAnt.Core/ExceptionTest.cs
---- nant-0.85-rc3-orig/tests/NAnt.Core/ExceptionTest.cs 2004-12-26 23:11:18.000000000 -0500
-+++ nant-0.85-rc3/tests/NAnt.Core/ExceptionTest.cs 2005-05-12 15:22:48.000000000 -0400
-@@ -130,21 +130,6 @@
- Assert.IsTrue(ci.IsFamily, t.Name + description + " is not protected, must be protected.");
- }
-
-- private void CheckPublicOrProtectedConstructor(Type t, string description, params Type[] parameters) {
-- // locate constructor
-- ConstructorInfo ci = t.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, parameters, null);
-- // fail if constructor does not exist
-- Assert.IsNotNull(ci, t.Name + description + " is a required constructor.");
-- // fail if constructor is private
-- Assert.IsFalse(ci.IsPrivate, t.Name + description + " is private, must be public or protected.");
-- // fail if constructor is internal
-- Assert.IsFalse(ci.IsAssembly, t.Name + description + " is internal, must be public or protected.");
-- // fail if constructor is protected internal
-- Assert.IsFalse(ci.IsFamilyOrAssembly, t.Name + description + " is protected internal, must be public or protected.");
-- // sainty check to make sure the constructor is protected or public
-- Assert.IsTrue(ci.IsPublic || ci.IsFamily, t.Name + description + " is not public or protected, must be public or protected.");
-- }
--
- private void CheckPrivateConstructor(Type t, string description, params Type[] parameters) {
- // locate constructor
- ConstructorInfo ci = t.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, parameters, null);
diff --git a/dev-dotnet/nant/files/nant-0.85_rc3-assignfix.diff b/dev-dotnet/nant/files/nant-0.85_rc3-assignfix.diff
deleted file mode 100644
index a9632faca6bb..000000000000
--- a/dev-dotnet/nant/files/nant-0.85_rc3-assignfix.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- nant-0.85-nightly-2005-12-13-old/src/NAnt.Core/Tasks/StyleTask.cs 2005-06-07 21:05:32.000000000 +0200
-+++ nant-0.85-nightly-2005-12-13/src/NAnt.Core/Tasks/StyleTask.cs 2006-09-15 02:20:04.000000000 +0200
-@@ -270,7 +270,7 @@
- request.Proxy = Proxy.GetWebProxy();
- }
-
-- HttpWebResponse response = response = (HttpWebResponse) request.GetResponse();
-+ HttpWebResponse response = (HttpWebResponse) request.GetResponse();
- if (response.StatusCode != HttpStatusCode.OK) {
- throw new BuildException(string.Format(CultureInfo.InvariantCulture,
- ResourceUtils.GetString("NA1149"), XsltFile),
diff --git a/dev-dotnet/nant/nant-0.85_rc3-r1.ebuild b/dev-dotnet/nant/nant-0.85_rc3-r1.ebuild
deleted file mode 100644
index a26bb5017d9e..000000000000
--- a/dev-dotnet/nant/nant-0.85_rc3-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/nant-0.85_rc3-r1.ebuild,v 1.2 2006/09/16 18:11:55 latexer Exp $
-
-inherit mono eutils
-
-MY_P_DATE="20051213"
-MY_P=${PN}-${PV%%_rc*}-nightly-${MY_P_DATE:0:4}-${MY_P_DATE:4:2}-${MY_P_DATE:6:2}
-
-DESCRIPTION=".NET build tool"
-HOMEPAGE="http://nant.sourceforge.net/"
-SRC_URI="mirror://gentoo/${MY_P}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-DEPEND=">=dev-lang/mono-1.1.4"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- epatch ${FILESDIR}/${P}-assignfix.diff
-
- # Fix a problem with duplicate building caused by the doc= target
- for file in $(find ${S}/src -name '*.build')
- do
- sed -i "s: doc=.*>:>:" \
- ${file}
- done
-
- # When we have mono-1.1.x, we should build against 2.0,
- # so that people using nant can use either the 2.0 or 1.0 profiles
- sed -i -e "s/-f:NAnt.build/-t:mono-2.0 -f:NAnt.build/" \
- ${S}/Makefile || die "sed failed"
-}
-
-src_compile() {
- emake -j1 || die
-}
-
-src_install() {
- make prefix=${D}/usr install || die
- # Fix ${D} showing up in the nant wrapper script, as well as silencing
- # warnings related to the log4net library
- sed -i \
- -e "s:${D}::" \
- -e "2iexport MONO_SILENT_WARNING=1" \
- ${D}/usr/bin/nant
- dodoc README.txt
-}
diff --git a/dev-dotnet/nant/nant-0.85_rc3.ebuild b/dev-dotnet/nant/nant-0.85_rc3.ebuild
deleted file mode 100644
index c45ea95c5cd6..000000000000
--- a/dev-dotnet/nant/nant-0.85_rc3.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/nant-0.85_rc3.ebuild,v 1.4 2005/06/03 22:03:25 dholm Exp $
-
-inherit mono eutils
-
-MY_P=${P/_rc/-rc}
-
-DESCRIPTION=".NET build tool"
-HOMEPAGE="http://nant.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-DEPEND=">=dev-lang/mono-1.1.4"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- local targetlibdir=""
- unpack ${A}
- cd ${S}
-
- epatch ${FILESDIR}/${PN}-0.85-rc2-is-unix.diff || die
- epatch ${FILESDIR}/${PN}-0.85-rc2-profile.diff || die
- epatch ${FILESDIR}/${MY_P}-mono-1.1.7-compat.diff || die
-
- # Fix a problem with duplicate building caused by the doc= target
- for file in $(find ${S}/src -name '*.build')
- do
- sed -i "s: doc=.*>:>:" \
- ${file}
- done
-
- # Problem with is-unix() on mono-1.1.x where the platform is detected
- # as !is-unix().
- sed -i -e "s:install-windows, install-linux:install-linux:" \
- -e 's:if.*is-unix()}\"::' \
- ${S}/NAnt.build || die "sed failed"
-
- # When we have mono-1.1.x, we should build against 2.0,
- # so that people using nant can use either the 2.0 or 1.0 profiles
- if has_version ">=dev-lang/mono-1.1.4"; then
- sed -i -e "s/-f:NAnt.build/-t:mono-2.0 -f:NAnt.build/" \
- ${S}/Makefile || die "sed failed"
-
- targetlibdir="${S}/build/mono-2.0.unix/nant-0.85-debug/bin/lib/"
- else
- # Fix for AppDomain unloading on 1.0.x. See bug #90113
- export MONO_NO_UNLOAD=1
- targetlibdir="${S}/build/mono-1.0.unix/nant-0.85-debug/bin/lib/"
- fi
-
- # Fix for build problem with rc3
- mkdir -p "${targetlibdir}"
- cp ${S}/lib/log4net.dll "${targetlibdir}"
-}
-
-src_compile() {
- emake -j1 || die
-}
-
-src_install() {
- make prefix=${D}/usr install || die
- # Fix ${D} showing up in the nant wrapper script, as well as silencing
- # warnings related to the log4net library
- sed -i \
- -e "s:${D}::" \
- -e "2iexport MONO_SILENT_WARNING=1" \
- ${D}/usr/bin/nant
- dodoc README.txt
-
- # Remove the extraneous log4net.dll copy
- rm ${D}/usr/share/NAnt/bin/lib/log4net.dll
-}