summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-05-03 20:29:38 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-05-03 20:29:38 +0000
commite637c7a808e9036c142a85b22ab7da00ca156fb1 (patch)
treea6e6a80dda5ea8ec77cbaa49bf65cb7867d4e1eb /dev-dotnet
parentRemove use.force on nant since mono-2.4 has been unmasked. (diff)
downloadhistorical-e637c7a808e9036c142a85b22ab7da00ca156fb1.tar.gz
historical-e637c7a808e9036c142a85b22ab7da00ca156fb1.tar.bz2
historical-e637c7a808e9036c142a85b22ab7da00ca156fb1.zip
Bump. USE=bootstrap introduced, allows linking against system libs when unset.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/nant/ChangeLog15
-rw-r--r--dev-dotnet/nant/Manifest11
-rw-r--r--dev-dotnet/nant/files/nant-0.86_beta1-build.patch20
-rw-r--r--dev-dotnet/nant/files/nant-0.86_beta1-dropnunit1.patch38
-rw-r--r--dev-dotnet/nant/files/nant-0.86_beta1-nunit-2.4.8.patch119
-rw-r--r--dev-dotnet/nant/files/nant-0.86_beta1-refmono-nunit.patch35
-rw-r--r--dev-dotnet/nant/metadata.xml3
-rw-r--r--dev-dotnet/nant/nant-0.86_beta1.ebuild101
8 files changed, 338 insertions, 4 deletions
diff --git a/dev-dotnet/nant/ChangeLog b/dev-dotnet/nant/ChangeLog
index 132bcd702648..313dc41f532e 100644
--- a/dev-dotnet/nant/ChangeLog
+++ b/dev-dotnet/nant/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for dev-dotnet/nant
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.21 2008/11/27 18:42:44 ssuominen Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.22 2009/05/03 20:29:38 loki_val Exp $
+
+*nant-0.86_beta1 (03 May 2009)
+
+ 03 May 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +files/nant-0.86_beta1-build.patch,
+ +files/nant-0.86_beta1-dropnunit1.patch,
+ +files/nant-0.86_beta1-nunit-2.4.8.patch,
+ +files/nant-0.86_beta1-refmono-nunit.patch, metadata.xml,
+ +nant-0.86_beta1.ebuild:
+ Bump. USE=bootstrap introduced, allows linking against system libs when
+ unset.
27 Nov 2008; <ssuominen@gentoo.org> nant-0.85.ebuild:
Move dev-util/pkgconfig from RDEPEND to DEPEND wrt #224301.
diff --git a/dev-dotnet/nant/Manifest b/dev-dotnet/nant/Manifest
index d8f69731a580..40aff67f82af 100644
--- a/dev-dotnet/nant/Manifest
+++ b/dev-dotnet/nant/Manifest
@@ -1,6 +1,13 @@
AUX nant-0.85-obselencense.patch 1453 RMD160 fffe1735da19bbdf6b573efe952b34e2e4b46435 SHA1 16580481f26192a8d9cafde1426b6fa5ff2b1a24 SHA256 849e0070cff4ccdd28972a1dc875213d9d95ab27453212cff0eabeb78c05e80c
AUX nant-0.85-threadingfix.patch 747 RMD160 5e2451e746667624f15f7f8f26769b18edd13d62 SHA1 669d6996ae9bd3f6be7d8a811ac97d649e91d480 SHA256 cd96b94a96e4a0d53a984c4af7f8417a4d91d7879c8f4ad04ce580560591cf74
+AUX nant-0.86_beta1-build.patch 1329 RMD160 6ac3e4b757d20acc225327bf8593cde97f0034e3 SHA1 12ad93a0beb925007abe91a5e45e469d0135d4b3 SHA256 4f3dc5b128aedd3f4f76ceaf2afe348efcf7f766fb076f6e653cd651c9706d0a
+AUX nant-0.86_beta1-dropnunit1.patch 2254 RMD160 cd4b2e063d54ef5018436acda539b3206bcec332 SHA1 9be3cd700685aea7b7994be1edff4ce19066bdb6 SHA256 22d3fa1a2435181bc51ef40c6911f3bc8cc2efe739417720223e296e6ef8057b
+AUX nant-0.86_beta1-nunit-2.4.8.patch 4751 RMD160 579f714a8a7fb859a20ebb05d9439ac88f9c4f04 SHA1 0e45cc59fe5cf72fa725af5ce7ad0c61dcdf446a SHA256 6c2113b29c374edc22005dd3bcad58b4bf3fee3d0b4eb28100cf6a7858d393cb
+AUX nant-0.86_beta1-refmono-nunit.patch 1815 RMD160 89fb4e23c743a5ec445c298d661c2374a2cd480a SHA1 90d6b5f00cb4ef299eefabbc70a336cfd8c5f8d8 SHA256 04c5bc761809ca7ab972b28a160a0926ec5eec9ed8d98a98f09d44287b5116cf
DIST nant-0.85-src.tar.gz 2130856 RMD160 0d69f4f49305fecbd17c4b6e9cdc29a0bc5cc8fd SHA1 df97d7b542a4e561c37a0804bb8a159803cc05cd SHA256 f50fbcba5ea3819ecafab9631c8937460e2b8b04d65c435c71fef7220c5cfc7d
+DIST nant-0.86-beta1-bin.tar.gz 3504301 RMD160 4b5b4ab869e762c57802a8d2f783855f6cb636cb SHA1 e74f6674f0fabad6d90df91c46a3ec26e37565b6 SHA256 2ab0826b11d8ae98eadffe6afa048f49ec8aa0cf1d7b85c78824b51f1a33107e
+DIST nant-0.86-beta1-src.tar.gz 2187213 RMD160 96343c30403bb740e52d51688c855738a8021bbf SHA1 9f91381b9c54459c5cc56e31e4645e470a3cbe9b SHA256 bf9c245b20ffe6a2a44814fa0a0a79a3d67b4c04b74218b899b430975b4f0dbd
EBUILD nant-0.85.ebuild 1587 RMD160 103b9b3ca80478c121ad228c9979b820bc235a0d SHA1 fc2ad910f679ef2b11176d393b44b5f40428ff18 SHA256 85d3f261cf10e6a5ec488561621bb9b948d8daeb919940016c46b0c0ef70eed8
-MISC ChangeLog 3536 RMD160 3477731d1fbfbd19c1e5d47f14a33ad37eec6b50 SHA1 35861d4f5e2c40541615279f93b682382e557f2a SHA256 0be62b7047e033ba8263e34ff96c3ba02509a76c810e4421d657db5bb2aa6ccc
-MISC metadata.xml 160 RMD160 cc10b170ad63a746d8bdfbe5bf1bd9f7065922b8 SHA1 49eaf4246f7502850064d3806cce65d3a404ce1b SHA256 1bc3e313a948415fff0dfa63a5610943327146bfe16bfeca603379bf9706a687
+EBUILD nant-0.86_beta1.ebuild 2679 RMD160 5688138873301059aafa753cf0d727a0ddcabf79 SHA1 2b2356dc6d298556bca2abdbd4f33403d4263a67 SHA256 ae5cf4a08e7a7128ac1b0b2901caf88b8ed646b4f81d0a5fd15aea217137ab8e
+MISC ChangeLog 3916 RMD160 a0e0e651b482076ddb63168eff94cd8b6fe6b1fa SHA1 21816aa790eee445b7cefcfbd45258e17d15b539 SHA256 9fc6aa70bd134c3d5a6b0b49119c2e1dc455c9a622068335d4e7747d510e4dd5
+MISC metadata.xml 256 RMD160 fc20ccc5bd854bd1ead2492bc41154fd06f4c53f SHA1 71dfa174959b1036430bf3addb077ec978d1aeac SHA256 4587013c7194cc4f71d6fa48875d02d0bebcf1e064ff2e453f58d3080ffa2f5c
diff --git a/dev-dotnet/nant/files/nant-0.86_beta1-build.patch b/dev-dotnet/nant/files/nant-0.86_beta1-build.patch
new file mode 100644
index 000000000000..908bcae7ebb5
--- /dev/null
+++ b/dev-dotnet/nant/files/nant-0.86_beta1-build.patch
@@ -0,0 +1,20 @@
+--- nant-0.85-rc4/NAnt.build 2006-06-02 20:07:52.000000000 +0100
++++ nant-0.85-rc4/NAnt-new.build 2006-09-16 00:56:44.000000000 +0100
+@@ -807,13 +807,14 @@
+ </target>
+
+ <target name="install-linux" depends="build" if="${platform::is-unix()}">
+- <property name="install.realprefix" value="/usr/local" />
++ <property name="install.realprefix" value="/usr" />
+ <if test="${property::exists('install.prefix') and string::get-length(install.prefix) != 0}">
+ <property name="install.realprefix" value="${install.prefix}" />
+ </if>
+ <property name="install.bindir" value="${path::combine(install.realprefix, 'bin')}"/>
+- <property name="install.share" value="${path::combine(install.realprefix, 'share')}"/>
+- <property name="install.copylocation" value="${path::combine (install.share, 'NAnt')}"/>
++ <property name="install.libdir" value="${path::combine(install.realprefix, '@LIB@')}"/>
++ <property name="install.share" value="${path::combine(install.realprefix, '@LIB@')}"/>
++ <property name="install.copylocation" value="${path::combine(install.libdir, 'NAnt')}"/>
+ <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}"/>
+ <echo message="Installing NAnt to '${install.copylocation}' ..." />
+
diff --git a/dev-dotnet/nant/files/nant-0.86_beta1-dropnunit1.patch b/dev-dotnet/nant/files/nant-0.86_beta1-dropnunit1.patch
new file mode 100644
index 000000000000..8f823c6d975b
--- /dev/null
+++ b/dev-dotnet/nant/files/nant-0.86_beta1-dropnunit1.patch
@@ -0,0 +1,38 @@
+diff -NrU5 nant-0.86-beta1.orig/src/NAnt.NUnit/NAnt.NUnit.build nant-0.86-beta1/src/NAnt.NUnit/NAnt.NUnit.build
+--- nant-0.86-beta1.orig/src/NAnt.NUnit/NAnt.NUnit.build 2009-05-03 16:38:14.000000000 +0200
++++ nant-0.86-beta1/src/NAnt.NUnit/NAnt.NUnit.build 2009-05-03 16:39:16.000000000 +0200
+@@ -18,34 +18,10 @@
+ <references>
+ <include name="${build.dir}/bin/NAnt.Core.dll" />
+ <include name="${lib.framework.dir}/nunit.framework.dll" />
+ </references>
+ </csc>
+- <csc target="library" define="${current.build.defines}" warnaserror="${build.warnaserror}" debug="${build.debug}" output="${build.dir}/bin/NAnt.NUnit1Tasks.dll" doc="${build.dir}/bin/NAnt.NUnit1Tasks.xml">
+- <nowarn>
+- <!-- do not report warnings for missing XML comments -->
+- <warning number="1591" />
+- <!-- workaround for Mono bug #61902: do not report deprecation warnings -->
+- <warning number="0618" if="${framework::get-family(framework::get-target-framework()) == 'mono'}" />
+- </nowarn>
+- <sources>
+- <include name="NUnit1/**/*.cs"/>
+- <!-- common assembly-level attributes -->
+- <include name="../CommonAssemblyInfo.cs" />
+- </sources>
+- <references>
+- <!-- temporary workaround for Mono Runtime bug #57602 -->
+- <include name="${lib.framework.dir}/log4net.dll" />
+- <!-- end workaround -->
+- <include name="${build.dir}/bin/NAnt.Core.dll" />
+- <include name="${build.dir}/bin/NAnt.NUnit.dll" />
+- <include name="${lib.dir}/common/neutral/NUnitCore.dll" />
+- </references>
+- <resources>
+- <include name="*.resx"/>
+- </resources>
+- </csc>
+ <csc target="library" define="${current.build.defines}" warnaserror="${build.warnaserror}" debug="${build.debug}" output="${build.dir}/bin/NAnt.NUnit2Tasks.dll" doc="${build.dir}/bin/NAnt.NUnit2Tasks.xml">
+ <nowarn>
+ <!-- do not report deprecation warnings -->
+ <warning number="0618" />
+ </nowarn>
diff --git a/dev-dotnet/nant/files/nant-0.86_beta1-nunit-2.4.8.patch b/dev-dotnet/nant/files/nant-0.86_beta1-nunit-2.4.8.patch
new file mode 100644
index 000000000000..f1e50120b279
--- /dev/null
+++ b/dev-dotnet/nant/files/nant-0.86_beta1-nunit-2.4.8.patch
@@ -0,0 +1,119 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 06_nunit_2.4.dpatch by Jelmer Vernooij <jelmer@samba.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Update NUnit task to work with NUnit 2.4.7
+
+@DPATCH@
+diff -ur nant-0.85/src/NAnt.NUnit/NUnit2/NUnit2Task.cs nant-0.85.dfsg1-newnunit/src/NAnt.NUnit/NUnit2/NUnit2Task.cs
+--- nant-0.85/src/NAnt.NUnit/NUnit2/NUnit2Task.cs 2006-04-23 19:53:12.000000000 +0200
++++ nant-0.85.dfsg1-newnunit/src/NAnt.NUnit/NUnit2/NUnit2Task.cs 2008-06-14 16:50:35.000000000 +0200
+@@ -31,6 +31,7 @@
+ using System.Xml.XPath;
+
+ using NUnit.Core;
++using NUnit.Core.Filters;
+ using TestCase = NUnit.Core.TestCase;
+ using TestOutput = NUnit.Core.TestOutput;
+ using NUnit.Framework;
+@@ -185,16 +186,16 @@
+ EventListener listener = new EventCollector(logWriter, logWriter);
+
+ foreach (NUnit2Test testElement in Tests) {
+- IFilter categoryFilter = null;
++ ITestFilter categoryFilter = null;
+
+ // include or exclude specific categories
+ string categories = testElement.Categories.Includes.ToString();
+ if (!StringUtils.IsNullOrEmpty(categories)) {
+- categoryFilter = new CategoryFilter(categories.Split(','), false);
++ categoryFilter = new CategoryFilter(categories.Split(','));
+ } else {
+ categories = testElement.Categories.Excludes.ToString();
+ if (!StringUtils.IsNullOrEmpty(categories)) {
+- categoryFilter = new CategoryFilter(categories.Split(','), true);
++ categoryFilter = new NotFilter(new CategoryFilter(categories.Split(',')));
+ }
+ }
+
+@@ -203,27 +204,22 @@
+
+ try {
+ TestRunner runner = domain.CreateRunner(new FileInfo(testAssembly), testElement.AppConfigFile);
++ TestPackage package = new TestPackage(testAssembly);
+
+- Test test = null;
+- if (testElement.TestName != null) {
+- test = runner.Load(testAssembly, testElement.TestName);
+- } else {
+- test = runner.Load(testAssembly);
+- }
+-
+- if (test == null) {
++ bool test = runner.Load(package);
++ if (!test) {
+ Log(Level.Warning, "Assembly \"{0}\" contains no tests.",
+ testAssembly);
+ continue;
+ }
+
+- // set category filter
+- if (categoryFilter != null) {
+- runner.Filter = categoryFilter;
+- }
+-
++ TestResult result;
+ // run test
+- TestResult result = runner.Run(listener);
++ if (categoryFilter != null) {
++ result = runner.Run(listener, categoryFilter);
++ } else {
++ result = runner.Run(listener);
++ }
+
+ // flush test output to log
+ logWriter.Flush();
+@@ -371,7 +367,7 @@
+
+ #endregion Private Instance Methods
+
+- private class EventCollector : LongLivingMarshalByRefObject, EventListener {
++ private class EventCollector : MarshalByRefObject, EventListener {
+ private TextWriter outWriter;
+ private TextWriter errorWriter;
+ private string currentTestName;
+@@ -382,10 +378,10 @@
+ this.currentTestName = string.Empty;
+ }
+
+- public void RunStarted(Test[] tests) {
++ public void RunStarted(string name, int testcount) {
+ }
+
+- public void RunFinished(TestResult[] results) {
++ public void RunFinished(TestResult result) {
+ }
+
+ public void RunFinished(Exception exception) {
+@@ -395,11 +391,11 @@
+ currentTestName = string.Empty;
+ }
+
+- public void TestStarted(TestCase testCase) {
+- currentTestName = testCase.FullName;
++ public void TestStarted(TestName testName) {
++ currentTestName = testName.FullName;
+ }
+
+- public void SuiteStarted(TestSuite suite) {
++ public void SuiteStarted(TestName testName) {
+ }
+
+ public void SuiteFinished(TestSuiteResult suiteResult) {
+@@ -423,4 +419,4 @@
+ }
+ }
+ }
+-}
+\ Kein Zeilenumbruch am Dateiende.
++}
diff --git a/dev-dotnet/nant/files/nant-0.86_beta1-refmono-nunit.patch b/dev-dotnet/nant/files/nant-0.86_beta1-refmono-nunit.patch
new file mode 100644
index 000000000000..27e5ee56b2a2
--- /dev/null
+++ b/dev-dotnet/nant/files/nant-0.86_beta1-refmono-nunit.patch
@@ -0,0 +1,35 @@
+diff -NrU5 nant-0.86-beta1.orig/src/NAnt.NUnit/NAnt.NUnit.build nant-0.86-beta1/src/NAnt.NUnit/NAnt.NUnit.build
+--- nant-0.86-beta1.orig/src/NAnt.NUnit/NAnt.NUnit.build 2009-05-03 17:04:46.000000000 +0200
++++ nant-0.86-beta1/src/NAnt.NUnit/NAnt.NUnit.build 2009-05-03 17:05:03.000000000 +0200
+@@ -15,12 +15,14 @@
+ <!-- common assembly-level attributes -->
+ <include name="../CommonAssemblyInfo.cs" />
+ </sources>
+ <references>
+ <include name="${build.dir}/bin/NAnt.Core.dll" />
+- <include name="${lib.framework.dir}/nunit.framework.dll" />
+ </references>
++ <pkg-references>
++ <package name="mono-nunit"/>
++ </pkg-references>
+ </csc>
+ <csc target="library" define="${current.build.defines}" warnaserror="${build.warnaserror}" debug="${build.debug}" output="${build.dir}/bin/NAnt.NUnit2Tasks.dll" doc="${build.dir}/bin/NAnt.NUnit2Tasks.xml">
+ <nowarn>
+ <!-- do not report deprecation warnings -->
+ <warning number="0618" />
+@@ -36,12 +38,12 @@
+ <include name="${lib.framework.dir}/NDoc.Core.dll" />
+ <!-- end workaround -->
+ <include name="${build.dir}/bin/NAnt.Core.dll" />
+ <include name="${build.dir}/bin/NAnt.NUnit.dll" />
+ <include name="${build.dir}/bin/NAnt.DotNetTasks.dll" />
+- <include name="${lib.framework.dir}/nunit.framework.dll" />
+- <include name="${lib.framework.dir}/nunit.core.dll" />
+- <include name="${lib.framework.dir}/nunit.util.dll" />
+ </references>
++ <pkg-references>
++ <package name="mono-nunit"/>
++ </pkg-references>
+ </csc>
+ </target>
+ </project>
diff --git a/dev-dotnet/nant/metadata.xml b/dev-dotnet/nant/metadata.xml
index e01adbb307db..5c82bcf2c18c 100644
--- a/dev-dotnet/nant/metadata.xml
+++ b/dev-dotnet/nant/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dotnet</herd>
+ <use>
+ <flag name='bootstrap'>Bootstrap nant by using pre-built ndoc binaries.</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-dotnet/nant/nant-0.86_beta1.ebuild b/dev-dotnet/nant/nant-0.86_beta1.ebuild
new file mode 100644
index 000000000000..709c786395bf
--- /dev/null
+++ b/dev-dotnet/nant/nant-0.86_beta1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/nant-0.86_beta1.ebuild,v 1.1 2009/05/03 20:29:38 loki_val Exp $
+
+EAPI=2
+
+inherit mono multilib eutils
+
+DESCRIPTION=".NET build tool"
+HOMEPAGE="http://nant.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nant/${P/_/-}-src.tar.gz
+ build? ( mirror://sourceforge/nant/${P/_/-}-bin.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+bootstrap"
+
+RDEPEND="
+ bootstrap? (
+ >=dev-lang/mono-2.0
+ )
+ !bootstrap? (
+ >=dev-dotnet/ndoc-1.3.1-r3
+ >=dev-lang/mono-2.4
+ )
+ "
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+# This build is not parallel build friendly
+MAKEOPTS="${MAKEOPTS} -j1"
+
+S="${WORKDIR}/${P/_/-}"
+
+pkg_setup() {
+ if use bootstrap && has_version '>=dev-dotnet/ndoc-1.3.1-r3' && has_version '>=dev-lang/mono-2.4'
+ then
+ elog "USE=bootstrap is set. Bootstrapping is required on first install of"
+ elog "${CATEGORY}/${PN} and is set to on by default to not break up"
+ elog "the dependency graph, since USE=-bootstrap requires:"
+ elog ">=dev-lang/mono-2.4"
+ elog ">=dev-dotnet/ndoc-1.3.1-r3"
+ elog "Which would cause a circular dependency between ${CATEGORY}/${PN} and"
+ elog "dev-dotnet/ndoc."
+ elog "You have both installed, so you can set USE=-bootstrap and re-emerge:"
+ elog "echo '${CATEGORY}/${PN} -bootstrap' >> /etc/portage/package.use"
+ elog "emerge -1 =${CATEGORY}/${PF}"
+ fi
+}
+src_prepare() {
+ if ! use bootstrap
+ then
+ edos2unix NAnt.build src/NAnt.NUnit/NAnt.NUnit.build
+ sed -e "s:@LIB@:$(get_libdir):" "${FILESDIR}/${P}-build.patch" \
+ > "${WORKDIR}/${P}-build.patch"
+ epatch "${WORKDIR}/${P}-build.patch"
+ epatch "${FILESDIR}/${P}-dropnunit1.patch"
+ epatch "${FILESDIR}/${P}-nunit-2.4.8.patch"
+ epatch "${FILESDIR}/${P}-refmono-nunit.patch"
+
+ rm -rf lib/common/neutral/NUnitCore.dll
+
+ for file in lib/mono/*/nunit*.dll
+ do
+ echo $file
+ mono_file=${file#lib/}
+ rm -f $file
+ ln -s "/usr/$(get_libdir)/${mono_file}" "$file" || die
+ done
+
+ for file in lib/mono/*/NDoc*.dll
+ do
+ echo $file
+ mono_file=${file#lib/mono/*/}
+ rm -f $file
+ ln -s "/usr/$(get_libdir)/mono/ndoc/${mono_file}" "$file" || die
+ done
+ fi
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make prefix="${D}/usr" install || die "install failed"
+
+ # 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 || die "Sed nant failed"
+
+ dodoc README.txt
+ if ! use bootstrap
+ then
+ rm -rf "${D}"/usr/$(get_libdir)/NAnt/bin/lib/{mono,net}
+ fi
+}