# $Id: Portfile 46400 2009-02-04 05:25:12Z illogic-al@macports.org $

PortSystem          1.0
PortGroup           cmake   1.0

name                eigen
version             2.0.0
categories          math science
maintainers         nomaintainer
description         A C++ template library for linear algebra: vectors, matrices, and related algorithms.
long_description    ${description}
homepage            http://eigen.tuxfamily.org
platforms           darwin
master_sites        http://download.tuxfamily.org/eigen/
use_bzip2           yes
checksums           md5     bedfe344498b926a4b5db17d2846dbb5 \
                    sha1    ce7d035b2b27351130d8094375e54a605118233b \
                    rmd160  21781944a034792b1c939e48b1d8f54ff1c0e008

use_parallel_build  yes
worksrcdir          build
pre-configure       { file mkdir ${worksrcpath} }

configure.args-append      ../${distname} -DBUILD_SHARED_LIBS=ON
