# $Id: Portfile 66155 2010-04-06 07:38:08Z ryandesign@macports.org $

PortSystem 1.0

name			nant
version			0.85
categories		devel mono
platforms		darwin
maintainers		nomaintainer
description		.NET build tool
long_description	NAnt is a free .NET build tool. In theory it is kind of \
		like make without makes wrinkles. In practice its a lot like Ant.

homepage		http://nant.sourceforge.net/
master_sites		sourceforge:nant
distname		nant-${version}-src
checksums		md5 45ae065439b6cbc0e02051b855843f50 \
			sha1 df97d7b542a4e561c37a0804bb8a159803cc05cd

worksrcdir		nant-${version}
patchfiles		patch-NAnt_Core-Task_cs \
			patch-PkgConfigFunctions.cs \
			patch-ScriptTask.cs

depends_build		port:mono

use_configure	no
if {[info exists supported_archs]} {
    supported_archs noarch
}

use_parallel_build	no

build.args		prefix=${prefix}

destroot.destdir	prefix=${destroot}${prefix}
post-destroot {
	reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/bin/nant
}

