# -*- 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
# $Id: Portfile 54334 2009-07-25 02:29:44Z rowue@macports.org $
PortSystem          1.0
name                asco
version             0.4.6
revision            1
categories          science math
maintainers         rowue
platforms           darwin
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. 
depends_lib         port:automake
homepage            http://asco.sourceforge.net
master_sites        sourceforge
checksums           md5     f34bc35b5056b86800f290092cdc2a8c \
                    sha1    f755d230c9d75d85d8644b984b58e22287954a8d \
                    rmd160  6e1f5d685ba685c93b46e4c32bf4f7f2fad7dbaa

configure.cflags-append -DUNIX -I/usr/include/malloc

pre-configure {
    system "cd ${worksrcpath}; tar xvzf ${worksrcpath}/Autotools.tar.gz"
    system "touch ${worksrcpath}/NEWS"
    system "cd ${worksrcpath}; aclocal"
    system "cd ${worksrcpath}; automake -f -c -a"
}

configure.cmd       ./autogen.sh
