source: trunk/dports/math/newmat/Portfile @ 62813

Last change on this file since 62813 was 62813, checked in by jameskyle@…, 10 years ago

Passed use_namespace flag to newmat configure; see #22927

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 62813 2010-01-18 13:19:01Z jameskyle@macports.org $
3
4PortSystem 1.0
5
6name              newmat
7version           10
8categories        math
9maintainers       jameskyle
10
11description       This C++ library is intended for scientists and engineers who need to manipulate a variety of types of matrices using standard matrix operations.
12
13long_description  This C++ library is intended for scientists and engineers who need to manipulate a variety of types of matrices using standard matrix operations. Emphasis is on the kind of operations needed in statistical calculations such as least squares, linear equation solve and eigenvalues. It supports matrix types,e.g., Matrix (rectangular matrix), UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, SymmetricMatrix, BandMatrix, UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, IdentityMatrix, RowVector, ColumnVector.
14
15homepage                  http://www.robertnz.net
16platforms                 darwin
17master_sites              http://www.robertnz.net/ftp/
18distname                  ${name}${version}
19                         
20checksums                 md5 cc7408a10ee3d4775fc5f86e523bf56a \
21                          sha1 91cfcaba03f5fa69a3e3c77a9ce6762f7eb6b963 \
22                          rmd160 90a396fa888d0f87c345c13262ccad2d9de4adf4
23                         
24depends_build             port:cmake
25configure.cmd             cmake
26
27configure.pre_args
28configure.args            -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
29configure.cxxflags-append -Duse_namespace
30
31use_parallel_build yes
32extract.mkdir     yes
33pre-configure {
34  file copy ${filespath}/CMakeLists.txt ${worksrcpath}
35}
36
37livecheck.type     regex
38livecheck.url      ${homepage}/download.html
39livecheck.regex    {newmat([0-9.]+).tar.gz.*}
40livecheck.md5      cc7408a10ee3d4775fc5f86e523bf56a
Note: See TracBrowser for help on using the repository browser.