Ticket #17164: Portfile

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

Portfile for newran

Line 
1PortSystem 1.0
2
3name                      newran
4version           02
5categories        math
6maintainers       jameskyle@ucla.edu
7
8description       This is a C++ library for generating sequences of random numbers from a wide variety of distributions.
9
10long_description This is a C++ library for generating sequences of random numbers from a wide variety of distributions. It is particularly appropriate for the situation where one requires sequences of identically distributed random numbers since the set up time for each type of distribution is relatively long but it is efficient when generating each new random number. The library includes classes for generating random numbers from a number of distributions and is easily extended to be able to generate random numbers from almost any of the standard distributions.       
11
12homepage          http://www.robertnz.net/index.html
13platforms                     darwin
14master_sites              http://www.robertnz.net/ftp/
15distfiles         ${name}${version}.tar.gz
16checksums                     md5 db2bb22b6d96f1c04ce25f91ec7aeece \
17                  sha1 6c5b0493b11732c2f9152fe0f73bb6d4605f2da8 \
18                  rmd160 4693b8a85945468c173695c0da07a63d408d0392
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}