# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                nant
version             0.92
categories          devel mono
platforms           darwin
maintainers         nomaintainer
license             GPL-2+
supported_archs     noarch

description         .NET build tool

long_description    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.

homepage            http://nant.sourceforge.net/
master_sites        sourceforge:project/nant/nant/${version}
distname            nant-${version}-src

checksums           rmd160  f801495a26196e142cc3a668e4e5e8b5b0bff761 \
                    sha256  72d4d585267ed7f03e1aa75087d96f4f8d49ee976c32d974c5ab1fef4d4f8305

depends_build       port:mono \
                    port:pkgconfig

worksrcdir          nant-${version}

patchfiles          patch-PkgConfigFunctions.cs \
                    patch-ScriptTask.cs

use_configure       no

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
}
