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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | name gate |
---|
8 | version 6.2 |
---|
9 | categories science |
---|
10 | maintainers gmail.com:mojca.miklavec.lists |
---|
11 | license LGPL-2.1 |
---|
12 | description GATE description |
---|
13 | long_description GATE is dedicated to numerical simulations in medical imaging and radiotherapy. \ |
---|
14 | It currently supports simulations of Emission Tomography (PET and SPECT), \ |
---|
15 | Computed Tomography (CT) and Radiotherapy experiments. |
---|
16 | homepage http://www.opengatecollaboration.org |
---|
17 | platforms darwin |
---|
18 | |
---|
19 | distfiles gate_v6_2_tar_gz_15843.gz |
---|
20 | master_sites http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/gate_release/2012/08/ |
---|
21 | |
---|
22 | checksums rmd160 39e87890bc673f25b9e10776737a07ba2e72c57e \ |
---|
23 | sha256 d1f75b7a8358e6acb8c61ab13f25a3df49fc46f16f55f494f2eaca2fc141e08d |
---|
24 | |
---|
25 | # these should hopefully go away with the future release |
---|
26 | patchfiles patch-compileerrors.diff |
---|
27 | |
---|
28 | worksrcdir gate_v${version} |
---|
29 | configure.dir ${workpath}/build |
---|
30 | build.dir ${configure.dir} |
---|
31 | |
---|
32 | post-extract { |
---|
33 | file mkdir ${configure.dir} |
---|
34 | } |
---|
35 | |
---|
36 | configure.post_args ${worksrcpath} |
---|
37 | |
---|
38 | depends_lib port:geant4 \ |
---|
39 | port:root |
---|
40 | # zlib & clhep are dependencies of geant4 |
---|
41 | |
---|
42 | # TODO: this variable should go |
---|
43 | # configure.args-append -DWITH_GEANT4_UIVIS=ON |
---|
44 | |
---|
45 | # TODO: this variable actually means and will change to GATE_USE_SYSTEM_CLHEP=ON |
---|
46 | configure.args-append -DGATE_USE_OWN_CLHEP=ON |
---|
47 | # defaults |
---|
48 | configure.args-append -DGATE_USE_ROOT=ON |
---|
49 | |
---|
50 | # optional |
---|
51 | # GATE_USE_ECAT7 *OFF |
---|
52 | # GATE_USE_GPU *OFF |
---|
53 | # GATE_USE_LMF *OFF |
---|
54 | # GATE_USE_OPTICAL *OFF |
---|