Ticket #38413: Portfile

File Portfile, 2.2 KB (added by hmatuschek@…, 12 years ago)

Portfile for iNA 0.4.1.

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$
3
4PortSystem 1.0
5
6name intrinsic-noise-analyzer
7version 0.4.1
8categories science
9platforms darwin
10
11maintainers gmail.com:hmatuschek
12
13description The intrinsic noise analyzer for biochemical reaction networks.
14long_description iNA is a computational tool for quantitative analysis of fluctuations in \
15  biochemical reaction networks. Such fluctuations, also known as intrinsic noise, arise due to \
16  the stochastic nature of chemical reactions and cannot be ignored when some molecules are \
17  present in very low copy numbers only, as is the case in living cells. The SBML-based software \
18  computes statistical measures such as means and standard deviations of concentrations within a \
19  given accuracy. This is carried out automatically using the system size expansion whose leading \
20  order term is the popular Linear Noise Approximation. The results of the analysis can be tested \
21  against the computationally much more expensive stochastic simulation algorithm.
22
23license GPL-2
24
25homepage http://code.google.com/p/intrinsic-noise-analyzer
26master_sites http://intrinsic-noise-analyzer.googlecode.com/files/
27
28checksums md5    b45e3e0b2ac26b2dc6d3025f3b34acea \
29          sha1   359cbb9847b7b0ba6ea9038b97ea70303120818c \
30          rmd160 a441f30ea8d32e0788e00615e531094e011e2895
31
32depends_lib  port:libsbml \
33             port:qt4-mac \
34             port:GiNaC \
35             port:llvm-3.2
36
37depends_build port:cmake
38
39configure.cmd       cmake
40configure.pre_args  -DCMAKE_INSTALL_PREFIX=${prefix}
41configure.args      -DCMAKE_VERBOSE_MAKEFILE=ON \
42                    -DCMAKE_COLOR_MAKEFILE=OFF \
43                    -DCMAKE_BUILD_TYPE=Release \
44                    -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
45                    -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
46                    -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\"
47
48configure.args-append ../ina_src
49
50# Phase modifications
51# Move source into ina_src; configure & build (out-of-source) in ${workpath}
52post-extract {
53  # Rename extracted directory
54    move ${workpath}/${name}-${version} ${workpath}/ina_src
55}
56
57post-patch {
58    file mkdir ${workpath}/${name}-${version}
59}