summaryrefslogtreecommitdiff
path: root/devel/nant
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2009-01-07 03:01:10 +0000
committerjmcneill <jmcneill>2009-01-07 03:01:10 +0000
commit4dcc246796e5812098d975d9495ca1d49210c687 (patch)
tree17b9c096c6103d3acff166db5b30248e9ff31bdf /devel/nant
parentc551433e447dd04fa5b0f30fec9e5346325ac348 (diff)
downloadpkgsrc-4dcc246796e5812098d975d9495ca1d49210c687.tar.gz
Import nant version 0.86beta1.
NAnt is a free .NET build tool. In theory it is kind of like make without make's wrinkles. In practice it's a lot like Ant. NAnt is different. Instead of a model where it is extended with shell-based commands, NAnt is extended using task classes. Instead of writing shell commands, the configuration files are XML-based, calling out a target tree where various tasks get executed. Each task is run by an object that implements a particular Task interface.
Diffstat (limited to 'devel/nant')
-rw-r--r--devel/nant/DESCR8
-rw-r--r--devel/nant/Makefile29
-rw-r--r--devel/nant/PLIST90
-rw-r--r--devel/nant/distinfo7
-rw-r--r--devel/nant/patches/patch-aa13
-rw-r--r--devel/nant/patches/patch-ab13
6 files changed, 160 insertions, 0 deletions
diff --git a/devel/nant/DESCR b/devel/nant/DESCR
new file mode 100644
index 00000000000..2716740e7e5
--- /dev/null
+++ b/devel/nant/DESCR
@@ -0,0 +1,8 @@
+NAnt is a free .NET build tool. In theory it is kind of like make without
+make's wrinkles. In practice it's a lot like Ant.
+
+NAnt is different. Instead of a model where it is extended with shell-based
+commands, NAnt is extended using task classes. Instead of writing shell
+commands, the configuration files are XML-based, calling out a target tree
+where various tasks get executed. Each task is run by an object that
+implements a particular Task interface.
diff --git a/devel/nant/Makefile b/devel/nant/Makefile
new file mode 100644
index 00000000000..bba2b5ff76e
--- /dev/null
+++ b/devel/nant/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/07 03:01:10 jmcneill Exp $
+#
+
+DISTNAME= nant-0.86-beta1-src
+PKGNAME= nant-0.86beta1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nant/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://nant.sourceforge.net/
+COMMENT= Free .NET build tool similar to Apache Ant
+
+WRKSRC= ${WRKDIR}/nant-0.86-beta1
+USE_LANGUAGES= # csharp
+USE_TOOLS+= pkg-config gmake
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+do-configure:
+ cd ${WRKSRC} && ${GMAKE} setup
+
+do-build:
+ cd ${WRKSRC} && ${GMAKE} bootstrap
+
+do-install:
+ cd ${WRKSRC} && ${GMAKE} install prefix=${DESTDIR}${PREFIX} vprefix=${PREFIX}/share/NAnt
+
+.include "../../lang/mono/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/nant/PLIST b/devel/nant/PLIST
new file mode 100644
index 00000000000..252138f712b
--- /dev/null
+++ b/devel/nant/PLIST
@@ -0,0 +1,90 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/07 03:01:10 jmcneill Exp $
+bin/nant
+share/NAnt/bin/NAnt.CompressionTasks.dll
+share/NAnt/bin/NAnt.CompressionTasks.dll.mdb
+share/NAnt/bin/NAnt.CompressionTasks.xml
+share/NAnt/bin/NAnt.Core.dll
+share/NAnt/bin/NAnt.Core.dll.mdb
+share/NAnt/bin/NAnt.Core.xml
+share/NAnt/bin/NAnt.DotNetTasks.dll
+share/NAnt/bin/NAnt.DotNetTasks.dll.mdb
+share/NAnt/bin/NAnt.DotNetTasks.xml
+share/NAnt/bin/NAnt.NUnit.dll
+share/NAnt/bin/NAnt.NUnit.dll.mdb
+share/NAnt/bin/NAnt.NUnit.xml
+share/NAnt/bin/NAnt.NUnit1Tasks.dll
+share/NAnt/bin/NAnt.NUnit1Tasks.dll.mdb
+share/NAnt/bin/NAnt.NUnit1Tasks.xml
+share/NAnt/bin/NAnt.NUnit2Tasks.dll
+share/NAnt/bin/NAnt.NUnit2Tasks.dll.mdb
+share/NAnt/bin/NAnt.NUnit2Tasks.xml
+share/NAnt/bin/NAnt.SourceControlTasks.dll
+share/NAnt/bin/NAnt.SourceControlTasks.dll.mdb
+share/NAnt/bin/NAnt.SourceControlTasks.xml
+share/NAnt/bin/NAnt.VSNetTasks.dll
+share/NAnt/bin/NAnt.VSNetTasks.dll.mdb
+share/NAnt/bin/NAnt.VSNetTasks.xml
+share/NAnt/bin/NAnt.VisualCppTasks.dll
+share/NAnt/bin/NAnt.VisualCppTasks.dll.mdb
+share/NAnt/bin/NAnt.VisualCppTasks.xml
+share/NAnt/bin/NAnt.Win32Tasks.dll
+share/NAnt/bin/NAnt.Win32Tasks.dll.mdb
+share/NAnt/bin/NAnt.Win32Tasks.xml
+share/NAnt/bin/NAnt.exe
+share/NAnt/bin/NAnt.exe.config
+share/NAnt/bin/NAnt.exe.mdb
+share/NAnt/bin/NAnt.xml
+share/NAnt/bin/extensions/common/2.0/NAnt.MSBuild.dll
+share/NAnt/bin/extensions/common/2.0/NAnt.MSBuild.dll.mdb
+share/NAnt/bin/extensions/common/2.0/NAnt.MSBuild.xml
+share/NAnt/bin/lib/common/neutral/ICSharpCode.SharpCvsLib.Console.dll
+share/NAnt/bin/lib/common/neutral/ICSharpCode.SharpCvsLib.dll
+share/NAnt/bin/lib/common/neutral/ICSharpCode.SharpZipLib.dll
+share/NAnt/bin/lib/common/neutral/NUnitCore.dll
+share/NAnt/bin/lib/mono/1.0/NDoc.Core.dll
+share/NAnt/bin/lib/mono/1.0/NDoc.Documenter.Msdn.dll
+share/NAnt/bin/lib/mono/1.0/NDoc.ExtendedUI.dll
+share/NAnt/bin/lib/mono/1.0/nunit.core.dll
+share/NAnt/bin/lib/mono/1.0/nunit.framework.dll
+share/NAnt/bin/lib/mono/1.0/nunit.util.dll
+share/NAnt/bin/lib/mono/2.0/NDoc.Core.dll
+share/NAnt/bin/lib/mono/2.0/NDoc.Documenter.Msdn.dll
+share/NAnt/bin/lib/mono/2.0/NDoc.ExtendedUI.dll
+share/NAnt/bin/lib/mono/2.0/nunit.core.dll
+share/NAnt/bin/lib/mono/2.0/nunit.framework.dll
+share/NAnt/bin/lib/mono/2.0/nunit.util.dll
+share/NAnt/bin/lib/net/1.0/NDoc.Core.dll
+share/NAnt/bin/lib/net/1.0/NDoc.Documenter.Msdn.dll
+share/NAnt/bin/lib/net/1.0/NDoc.ExtendedUI.dll
+share/NAnt/bin/lib/net/1.0/nunit.core.dll
+share/NAnt/bin/lib/net/1.0/nunit.framework.dll
+share/NAnt/bin/lib/net/1.0/nunit.util.dll
+share/NAnt/bin/lib/net/1.1/NDoc.Core.dll
+share/NAnt/bin/lib/net/1.1/NDoc.Documenter.Msdn.dll
+share/NAnt/bin/lib/net/1.1/NDoc.ExtendedUI.dll
+share/NAnt/bin/lib/net/1.1/nunit.core.dll
+share/NAnt/bin/lib/net/1.1/nunit.framework.dll
+share/NAnt/bin/lib/net/1.1/nunit.util.dll
+share/NAnt/bin/lib/net/2.0/NDoc.Core.dll
+share/NAnt/bin/lib/net/2.0/NDoc.Documenter.Msdn.dll
+share/NAnt/bin/lib/net/2.0/NDoc.ExtendedUI.dll
+share/NAnt/bin/lib/net/2.0/nunit.core.dll
+share/NAnt/bin/lib/net/2.0/nunit.framework.dll
+share/NAnt/bin/lib/net/2.0/nunit.util.dll
+share/NAnt/bin/log4net.dll
+share/NAnt/bin/scvs.exe
+@dirrm share/NAnt/bin/lib/net/2.0
+@dirrm share/NAnt/bin/lib/net/1.1
+@dirrm share/NAnt/bin/lib/net/1.0
+@dirrm share/NAnt/bin/lib/net
+@dirrm share/NAnt/bin/lib/mono/2.0
+@dirrm share/NAnt/bin/lib/mono/1.0
+@dirrm share/NAnt/bin/lib/mono
+@dirrm share/NAnt/bin/lib/common/neutral
+@dirrm share/NAnt/bin/lib/common
+@dirrm share/NAnt/bin/lib
+@dirrm share/NAnt/bin/extensions/common/2.0
+@dirrm share/NAnt/bin/extensions/common
+@dirrm share/NAnt/bin/extensions
+@dirrm share/NAnt/bin
+@dirrm share/NAnt
diff --git a/devel/nant/distinfo b/devel/nant/distinfo
new file mode 100644
index 00000000000..7816d67a6ab
--- /dev/null
+++ b/devel/nant/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/07 03:01:10 jmcneill Exp $
+
+SHA1 (nant-0.86-beta1-src.tar.gz) = 9f91381b9c54459c5cc56e31e4645e470a3cbe9b
+RMD160 (nant-0.86-beta1-src.tar.gz) = 96343c30403bb740e52d51688c855738a8021bbf
+Size (nant-0.86-beta1-src.tar.gz) = 2187213 bytes
+SHA1 (patch-aa) = 06d7761f1109247b19a0caa5333c61510038d968
+SHA1 (patch-ab) = 6cd15001cb5e768241a5c26a055c75f92b093651
diff --git a/devel/nant/patches/patch-aa b/devel/nant/patches/patch-aa
new file mode 100644
index 00000000000..36c33129f5f
--- /dev/null
+++ b/devel/nant/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/07 03:01:10 jmcneill Exp $
+
+--- Makefile.orig 2009-01-06 21:51:58.000000000 -0500
++++ Makefile
+@@ -40,7 +40,7 @@ clean:
+ rm -fR build bootstrap
+
+ install: bootstrap
+- $(NANT) -f:NAnt.build install -D:install.prefix="$(prefix)"
++ $(NANT) -f:NAnt.build install -D:install.prefix="$(prefix)" -D:install.vprefix="$(vprefix)"
+
+ run-test: bootstrap
+ $(NANT) -f:NAnt.build test
diff --git a/devel/nant/patches/patch-ab b/devel/nant/patches/patch-ab
new file mode 100644
index 00000000000..ee925113712
--- /dev/null
+++ b/devel/nant/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/01/07 03:01:10 jmcneill Exp $
+
+--- NAnt.build.orig 2009-01-06 21:51:54.000000000 -0500
++++ NAnt.build
+@@ -830,7 +830,7 @@
+ the wrapper is created
+ -->
+ <echo file="${wrapper}" append="false">#!/bin/sh</echo>
+- <echo file="${wrapper}" append="true">exec ${path::combine(prefix, 'bin')}/mono ${path::combine(install.copylocation, 'bin')}/NAnt.exe "$@"</echo>
++ <echo file="${wrapper}" append="true">exec ${path::combine(prefix, 'bin')}/mono ${path::combine(install.vprefix, 'bin')}/NAnt.exe "$@"</echo>
+ <exec program="chmod" commandline="a+x ${path::combine(install.bindir, 'nant')}"/>
+ </target>
+ <target name="rpm" depends="init, build">