# -*- 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 108343 2013-07-20 08:34:21Z ryandesign@macports.org $

PortSystem          1.0

name                libcerf
version             1.3
categories          math
platforms           darwin
license             MIT
maintainers         mojca openmaintainer
description         Library for complex error functions
long_description    The libcerf library is a self-contained numeric library that provides \
                    an efficient and accurate implementation of complex error functions, \
                    along with Dawson, Faddeeva, and Voigt functions.
homepage            http://apps.jcns.fz-juelich.de/doku/sc/libcerf
master_sites        http://apps.jcns.fz-juelich.de/src/libcerf \
                    http://apps.jcns.fz-juelich.de/src/libcerf/old

checksums           rmd160  9a0b47a07d52da45ce723ce95a8a5350a2bb63aa \
                    sha256  d7059e923d3f370c89fb4d19ed4f827d381bc3f0e36da5595a04aeaaf3e6a859
extract.suffix      .tgz

# fix compilation error on gcc 4.2 (Mac OS X 10.6)
patchfiles          patch-configure.diff

livecheck.type      regex
livecheck.url       http://apps.jcns.fz-juelich.de/src/libcerf
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
