Ticket #17163: Portfile

File Portfile, 1.4 KB (added by krunk7@…, 16 years ago)

Portfile for newmat

Line 
1PortSystem 1.0
2
3name                      newmat
4version           10
5categories        math
6maintainers       jameskyle@ucla.edu
7
8description       This C++ library is intended for scientists and engineers who need to manipulate a variety of types of matrices using standard matrix operations.
9
10long_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.
11
12homepage          http://www.robertnz.net/index.html
13platforms                     darwin
14master_sites              http://www.robertnz.net/ftp/
15distfiles         ${name}${version}.tar.gz
16checksums                     md5 cc7408a10ee3d4775fc5f86e523bf56a \
17                  sha1 91cfcaba03f5fa69a3e3c77a9ce6762f7eb6b963 \
18                  rmd160 90a396fa888d0f87c345c13262ccad2d9de4adf4
19
20depends_build port:cmake
21configure.cmd cmake
22
23configure.pre_args
24configure.args -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
25
26use_parallel_build yes
27extract.mkdir     yes
28pre-configure {
29  file copy ${filespath}/CMakeLists.txt ${worksrcpath}
30}