Ticket #35992: Gate.Portfile

File Gate.Portfile, 1.9 KB (added by mojca (Mojca Miklavec), 11 years ago)

Portfile for Gate 6.2

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
5PortGroup           cmake 1.0
6
7name                gate
8version             6.2
9categories          science
10maintainers         gmail.com:mojca.miklavec.lists
11license             LGPL-2.1
12description         GATE description
13long_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.
16homepage            http://www.opengatecollaboration.org
17platforms           darwin
18
19distfiles           gate_v6_2_tar_gz_15843.gz
20master_sites        http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/gate_release/2012/08/
21
22checksums           rmd160  39e87890bc673f25b9e10776737a07ba2e72c57e \
23                    sha256  d1f75b7a8358e6acb8c61ab13f25a3df49fc46f16f55f494f2eaca2fc141e08d
24
25# these should hopefully go away with the future release
26patchfiles          patch-compileerrors.diff
27
28worksrcdir          gate_v${version}
29configure.dir       ${workpath}/build
30build.dir           ${configure.dir}
31
32post-extract {
33    file mkdir ${configure.dir}
34}
35
36configure.post_args ${worksrcpath}
37
38depends_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
46configure.args-append -DGATE_USE_OWN_CLHEP=ON
47# defaults
48configure.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