# -*- 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 87105 2011-11-10 19:40:05Z ryandesign@macports.org $

PortSystem 1.0
PortGroup       muniversal 1.0

name            cln
conflicts       puppet
version         1.3.1
categories      math
platforms       darwin
maintainers     gwright
license         GPL-2+
description     Class Library for Numbers
long_description    \
                CLN is a C++ library providing a rich library of     \
                numeric functions.

use_bzip2       yes

homepage        http://www.ginac.de/CLN/
master_sites    ${homepage}

checksums       md5     ede584cb1cafa66d56f42a3cf420469d \
                sha1    351506da9bd7b0b3cefd3a5424823797fb589acc \
                rmd160  bc3be659dfccafb6029af2bf761decceb51fbf4e

depends_lib     port:gmp

if {${configure.compiler} == "clang"} {
    configure.compiler llvm-gcc-4.2
}

test.run        yes
test.target     check
