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 | |
---|
6 | name splash |
---|
7 | version 1.14.1 |
---|
8 | categories science graphics |
---|
9 | platforms darwin |
---|
10 | maintainers monash.edu:daniel.price |
---|
11 | description Smoothed Particle Hydrodynamics visualisation tool |
---|
12 | long_description SPLASH is a tool for visualisation of (mainly astrophysical) \ |
---|
13 | Smoothed Particle Hydrodynamics simulations |
---|
14 | |
---|
15 | homepage http://users.monash.edu.au/~dprice/splash |
---|
16 | master_sites ${homepage}/download/ |
---|
17 | license GPL-2+ |
---|
18 | |
---|
19 | distfiles ${name}-${version}.tar.gz |
---|
20 | worksrcdir ${name} |
---|
21 | |
---|
22 | checksums sha1 ad6593ca892e6f400b19556bf695b56d9303554b \ |
---|
23 | rmd160 fab3970055412a026ae7ace6907af678a215784b |
---|
24 | |
---|
25 | depends_build |
---|
26 | |
---|
27 | default_variants +gcc44 +pgplot |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | build.cmd make SYSTEM=gfortran |
---|
32 | |
---|
33 | destroot.args PREFIX=${prefix} |
---|
34 | use_parallel_build no |
---|
35 | |
---|
36 | variant pgplot description {use PGPLOT as the backend graphics library} { |
---|
37 | depends_lib port:pgplot |
---|
38 | build.env PGPLOT_DIR=${prefix}/lib \ |
---|
39 | PGPLOT_DEV=/xw |
---|
40 | } |
---|
41 | |
---|
42 | variant gcc46 description {build with gfortran/gcc v4.6} conflicts gcc42 gcc43 gcc44 gcc45 { |
---|
43 | depends_build port:gcc46 |
---|
44 | build.cmd make SYSTEM=gfortran F90C=gfortran-mp-4.6 |
---|
45 | } |
---|
46 | |
---|
47 | variant gcc45 description {build with gfortran/gcc v4.5} conflicts gcc42 gcc43 gcc44 gcc46 { |
---|
48 | depends_build port:gcc45 |
---|
49 | build.cmd make SYSTEM=gfortran F90C=gfortran-mp-4.5 |
---|
50 | } |
---|
51 | |
---|
52 | variant gcc44 description {build with gfortran/gcc v4.4} conflicts gcc42 gcc43 gcc45 gcc46 { |
---|
53 | depends_build port:gcc44 |
---|
54 | build.cmd make SYSTEM=gfortran F90C=gfortran-mp-4.4 |
---|
55 | } |
---|
56 | |
---|
57 | variant gcc43 description {build with gfortran/gcc v4.3} conflicts gcc42 gcc44 gcc45 gcc46 { |
---|
58 | depends_build port:gcc43 |
---|
59 | build.cmd make SYSTEM=gfortran F90C=gfortran-mp-4.3 |
---|
60 | } |
---|
61 | |
---|
62 | variant gcc42 description {build with gfortran/gcc v4.2} conflicts gcc43 gcc44 gcc45 gcc46 { |
---|
63 | depends_build port:gcc42 |
---|
64 | build.cmd make SYSTEM=gfortran F90C=gfortran-mp-4.2 |
---|
65 | } |
---|
66 | |
---|
67 | variant read_hdf5formats description {compiles data reads that depend on HDF5} conflicts read_extraformats1 { |
---|
68 | build.args flash HDF5ROOT=${prefix} |
---|
69 | depends_lib port:hdf5 |
---|
70 | } |
---|
71 | |
---|
72 | variant read_extraformats1 description {compiles additional data reads: foulkes, mbatesph, oilonwater, rsph, urban (f/b/o/r/usplash)} conflicts read_extraformats2 { |
---|
73 | build.args all foulkes mbatesph oilonwater rsph urban |
---|
74 | } |
---|
75 | |
---|
76 | variant read_extraformats2 description {compiles additional data reads: Bauswein, UCLA, vanaverbeke data read (bsplash, usplash, vsplash)} conflicts read_extraformats1 { |
---|
77 | build.args all bauswein ucla vanaverbeke |
---|
78 | } |
---|