[41770] trunk/dports/math

blb at macports.org blb at macports.org
Sun Nov 9 23:57:06 PST 2008


Revision: 41770
          http://trac.macports.org/changeset/41770
Author:   blb at macports.org
Date:     2008-11-09 23:57:05 -0800 (Sun, 09 Nov 2008)
Log Message:
-----------
New port - math/newran, ticket #17164

Added Paths:
-----------
    trunk/dports/math/newran/
    trunk/dports/math/newran/Portfile
    trunk/dports/math/newran/files/
    trunk/dports/math/newran/files/CMakeLists.txt

Added: trunk/dports/math/newran/Portfile
===================================================================
--- trunk/dports/math/newran/Portfile	                        (rev 0)
+++ trunk/dports/math/newran/Portfile	2008-11-10 07:57:05 UTC (rev 41770)
@@ -0,0 +1,32 @@
+# $Id$
+
+PortSystem 1.0
+
+name              newran
+version           02
+categories        math
+maintainers       ucla.edu:jameskyle
+
+description       This is a C++ library for generating sequences of random numbers from a wide variety of distributions.
+
+long_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.
+
+homepage          http://www.robertnz.net/index.html
+platforms         darwin
+master_sites      http://www.robertnz.net/ftp/
+distname          ${name}${version}
+checksums         md5 db2bb22b6d96f1c04ce25f91ec7aeece \
+                  sha1 6c5b0493b11732c2f9152fe0f73bb6d4605f2da8 \
+                  rmd160 4693b8a85945468c173695c0da07a63d408d0392
+
+depends_build     port:cmake
+configure.cmd     cmake
+
+configure.pre_args
+configure.args    -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
+
+use_parallel_build yes
+extract.mkdir     yes
+pre-configure {
+  file copy ${filespath}/CMakeLists.txt ${worksrcpath}
+}


Property changes on: trunk/dports/math/newran/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/math/newran/files/CMakeLists.txt
===================================================================
--- trunk/dports/math/newran/files/CMakeLists.txt	                        (rev 0)
+++ trunk/dports/math/newran/files/CMakeLists.txt	2008-11-10 07:57:05 UTC (rev 41770)
@@ -0,0 +1,16 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT(NEWRAN)
+#SET(NEWRAN_SOURCES 
+#  extreal.cpp hist.cpp myexcept.cpp newran.cpp tryrand.cpp tryrand1.cpp 
+#  tryrand2.cpp tryrand3.cpp tryrand4.cpp tryrand5.cpp)
+SET(NEWRAN_SOURCES 
+    hist.cpp newran.cpp extreal.cpp myexcept.cpp 
+)
+SET(TRYRAND_SOURCES
+  tryrand.cpp tryrand1.cpp tryrand2.cpp tryrand3.cpp tryrand4.cpp tryrand5.cpp
+)
+
+ADD_LIBRARY(newran STATIC ${NEWRAN_SOURCES})
+#ADD_EXECUTABLE(tryrand newran ${TRYRAND_SOURCES} )
+INSTALL_FILES(/include/newran .*\\.h$)
+INSTALL_TARGETS(/lib newran)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081109/e55fe97b/attachment.html>


More information about the macports-changes mailing list