source: trunk/dports/math/eigen/Portfile

Last change on this file was 134215, checked in by nicos@…, 2 years ago

eigen: use cmake.out_of_source (ticket #47197)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 134215 2015-03-20 13:55:59Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                eigen
8version             2.0.17
9license             GPL-2+ LGPL-3+
10categories          math science
11maintainers         nicos openmaintainer
12description         A C++ template library for linear algebra: vectors, matrices, and related algorithms.
13long_description    ${description}
14homepage            http://eigen.tuxfamily.org/
15platforms           darwin
16
17master_sites        http://bitbucket.org/eigen/eigen/get/
18distname            ${version}
19# 2.0.16 was stealth updated; see #31240 and #32987
20#dist_subdir         ${name}/${version}_3
21use_bzip2           yes
22
23checksums           rmd160  183c8f7ee3c85ccb447fdcefa3a366f06cca351b \
24                    sha256  7255e856ed367ce6e6e2d4153b0e4e753c8b8d36918bf440dd34ad56aff09960
25#worksrcdir          ${name}-${name}-${version}
26worksrcdir          ${name}-${name}-b23437e61a07
27
28cmake.out_of_source yes
29
30configure.args-append   -DEIGEN_BUILD_LIB=ON
31
32patchfiles          patch-QrInstantiations.diff
33
34post-destroot {
35    set docdir ${prefix}/share/doc/${name}
36    xinstall -d ${destroot}${docdir}
37    xinstall -m 644 -W ${worksrcpath} COPYING COPYING.LESSER \
38        ${destroot}${docdir}
39}
40
41livecheck.type      regex
42livecheck.url       ${homepage}index.php?title=ChangeLog
43livecheck.regex     {Eigen (2(?:\.\d+)+)}
Note: See TracBrowser for help on using the repository browser.