summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2005-03-16 18:52:38 +0000
committerPeter Johanson <latexer@gentoo.org>2005-03-16 18:52:38 +0000
commitaf9359c33d112847bc28ab8f7144272e796f8ba7 (patch)
tree6635758f049fea1f6d33a5b5a43a06dc71a7e3c0 /dev-dotnet/nant
parentxerces now makes use of java-pkg_dosrc (diff)
downloadhistorical-af9359c33d112847bc28ab8f7144272e796f8ba7.tar.gz
historical-af9359c33d112847bc28ab8f7144272e796f8ba7.tar.bz2
historical-af9359c33d112847bc28ab8f7144272e796f8ba7.zip
Initial import. Ebuild by yours truly, but lots of help from everyone on bug #63758.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-dotnet/nant')
-rw-r--r--dev-dotnet/nant/ChangeLog12
-rw-r--r--dev-dotnet/nant/Manifest6
-rw-r--r--dev-dotnet/nant/files/digest-nant-0.85_rc21
-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/metadata.xml10
-rw-r--r--dev-dotnet/nant/nant-0.85_rc2.ebuild55
7 files changed, 110 insertions, 0 deletions
diff --git a/dev-dotnet/nant/ChangeLog b/dev-dotnet/nant/ChangeLog
new file mode 100644
index 000000000000..5fd354904b30
--- /dev/null
+++ b/dev-dotnet/nant/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-dotnet/nant
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/ChangeLog,v 1.1 2005/03/16 18:52:38 latexer Exp $
+
+*nant-0.85_rc2 (16 Mar 2005)
+
+ 16 Mar 2005; Peter Johanson <latexer@gentoo.org> +metadata.xml,
+ +files/nant-0.85-rc2-is-unix.diff, +files/nant-0.85-rc2-profile.diff,
+ +nant-0.85_rc2.ebuild:
+ Initial import. Ebuild by yours truly, but lots of help from everyone on bug
+ #63758.
+
diff --git a/dev-dotnet/nant/Manifest b/dev-dotnet/nant/Manifest
new file mode 100644
index 000000000000..80a3672f7c9b
--- /dev/null
+++ b/dev-dotnet/nant/Manifest
@@ -0,0 +1,6 @@
+MD5 74a1e8f3568cb14518f0e4d017f45fa1 nant-0.85_rc2.ebuild 1295
+MD5 a9c82101789e748e6afcd74fb536a2fc ChangeLog 487
+MD5 3df553e94423a0075a61a43a56dc6726 metadata.xml 256
+MD5 4780780090572267e1371fd5386b2788 files/digest-nant-0.85_rc2 70
+MD5 5f0141b7a8590cfe8e5dceb0d63c3d11 files/nant-0.85-rc2-profile.diff 592
+MD5 130a6c23514ec41bc117c3059c9aaf7f files/nant-0.85-rc2-is-unix.diff 695
diff --git a/dev-dotnet/nant/files/digest-nant-0.85_rc2 b/dev-dotnet/nant/files/digest-nant-0.85_rc2
new file mode 100644
index 000000000000..fbfc20e8889d
--- /dev/null
+++ b/dev-dotnet/nant/files/digest-nant-0.85_rc2
@@ -0,0 +1 @@
+MD5 b1df647ea1f1fcf6c6f176a73ec2b760 nant-0.85-rc2-src.tar.gz 2096197
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
new file mode 100644
index 000000000000..10f683d14770
--- /dev/null
+++ b/dev-dotnet/nant/files/nant-0.85-rc2-is-unix.diff
@@ -0,0 +1,13 @@
+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
new file mode 100644
index 000000000000..5a59e6ffefe8
--- /dev/null
+++ b/dev-dotnet/nant/files/nant-0.85-rc2-profile.diff
@@ -0,0 +1,13 @@
+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/metadata.xml b/dev-dotnet/nant/metadata.xml
new file mode 100644
index 000000000000..4ad551f1ca8f
--- /dev/null
+++ b/dev-dotnet/nant/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>dotnet</herd>
+ <maintainer>
+ <email>latexer@gentoo.org</email>
+ <name>Peter Johanson</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/dev-dotnet/nant/nant-0.85_rc2.ebuild b/dev-dotnet/nant/nant-0.85_rc2.ebuild
new file mode 100644
index 000000000000..26d7322c42f9
--- /dev/null
+++ b/dev-dotnet/nant/nant-0.85_rc2.ebuild
@@ -0,0 +1,55 @@
+# 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_rc2.ebuild,v 1.1 2005/03/16 18:52:38 latexer 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="~x86"
+IUSE=""
+DEPEND="dev-lang/mono"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${MY_P}-is-unix.diff || die
+ epatch ${FILESDIR}/${MY_P}-profile.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
+}
+
+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
+}