# -*- 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                asco
version             0.4.11
revision            0

categories          science math
platforms           darwin
maintainers         {mark @markemer} openmaintainer
license				gpl

description         A SPICE Circuit Optimizer
long_description    ASCO project aims to bring circuit optimization capabilities to existing \
                    SPICE simulators using a high-performance parallel differential evolution (DE)\
                    optimization algorithm. Currently out-of-the-box support for Eldo (TM), \
                    HSPICE (R), LTspice (TM), Spectre (R) and Qucs exist.

homepage            http://asco.sourceforge.net
master_sites        sourceforge
distname            ASCO-${version}

checksums           rmd160  3d7f0e862f0b975bc0454896bbea44c2a2792ba6 \
                    sha256  5b52161b4e5d1ddb61445f5be506525aaea95990e29e3043dbcbd51f2ed8fd3d \
                    size    637595

depends_build       port:automake \
                    port:autoconf

patchfiles          implicit.patch

pre-configure {
    system -W "${worksrcpath}" "tar xzf Autotools.tar.gz"
}

use_autoreconf      yes

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} README ChangeLog \
        LICENSE ${destroot}${docdir}
}