Ticket #34472: Portfile-splash.diff
File Portfile-splash.diff, 4.4 KB (added by danieljprice (Daniel Price), 13 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name splash 7 version 1.15.07 version 2.1.0 8 8 categories science graphics 9 9 platforms darwin 10 10 maintainers monash.edu:daniel.price … … 18 18 19 19 worksrcdir ${name} 20 20 21 checksums rmd160 430e64f7740dc04cc8bd898b3b0e4ddc87f277ab\22 sha256 f3e3331dbf544f35bfbe2dc2b4dd3da7963011f2b1bd2c7e5d1418244c32eb5521 checksums rmd160 2a76792b19781a45fe72359f9d4a14a029540174 \ 22 sha256 28fb4b7319a3aec784b10aaaa7a64f32f936f4c1d1b85b32a98dcecab13d172f 23 23 24 if { ![variant_isset gcc4 2] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46]} {24 if { ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { 25 25 default_variants +gcc45 26 26 } 27 default_variants-append +pgplot27 default_variants-append +giza 28 28 29 29 use_configure no 30 30 … … 34 34 destroot.args PREFIX=${prefix} 35 35 use_parallel_build no 36 36 37 variant pgplot description {use PGPLOT as the backend graphics library} { 37 variant giza description {use giza as the backend graphics library} conflicts pgplot { 38 depends_lib-append port:cairo \ 39 port:xorg-libx11 40 build.args-append X11DIR=${prefix} X11LIBS='-L${prefix}/lib -lX11' 41 } 42 43 variant pgplot description {use PGPLOT as the backend graphics library} conflicts giza { 38 44 depends_lib-append port:pgplot 39 45 build.env-append PGPLOT_DIR=${prefix}/lib \ 40 46 PGPLOT_DEV=/xw 47 build.args-append BACKEND=pgplot 41 48 } 42 49 43 variant gcc46 description {build with gfortran/gcc v4.6} conflicts gcc4 2 gcc43 gcc44 gcc45 {50 variant gcc46 description {build with gfortran/gcc v4.6} conflicts gcc44 gcc45 { 44 51 depends_build-append port:gcc46 45 build.args-append F90C=gfortran-mp-4.6 52 build.args-append F90C=gfortran-mp-4.6 FC=gfortran-mp-4.6 46 53 } 47 54 48 variant gcc45 description {build with gfortran/gcc v4.5} conflicts gcc4 2 gcc43 gcc44 gcc46 {55 variant gcc45 description {build with gfortran/gcc v4.5} conflicts gcc44 gcc46 { 49 56 depends_build-append port:gcc45 50 build.args-append F90C=gfortran-mp-4.5 57 build.args-append F90C=gfortran-mp-4.5 FC=gfortran-mp-4.5 51 58 } 52 59 53 variant gcc44 description {build with gfortran/gcc v4.4} conflicts gcc4 2 gcc43 gcc45 gcc46 {60 variant gcc44 description {build with gfortran/gcc v4.4} conflicts gcc45 gcc46 { 54 61 depends_build-append port:gcc44 55 build.args-append F90C=gfortran-mp-4.4 56 } 57 58 variant gcc43 description {build with gfortran/gcc v4.3} conflicts gcc42 gcc44 gcc45 gcc46 { 59 depends_build-append port:gcc43 60 build.args-append F90C=gfortran-mp-4.3 62 build.args-append F90C=gfortran-mp-4.4 FC=gfortran-mp-4.4 61 63 } 62 64 63 variant gcc42 description {build with gfortran/gcc v4.2} conflicts gcc43 gcc44 gcc45 gcc46{64 depends_build-append port:gcc4265 build.args-append F90C=gfortran-mp-4.265 variant hdf5 description {compiles data reads that depend on HDF5} { 66 build.args-append gadgethdf5 HDF5ROOT=${prefix} 67 depends_lib-append port:hdf5 66 68 } 67 69 68 variant read_hdf5formats description {compiles data reads that depend on HDF5} conflicts read_extraformats1{69 build.args-append flash HDF5ROOT=${prefix}70 depends_lib-append port:h df570 variant h5part description {compiles H5Part data read} { 71 build.args-append h5part HDF5ROOT=${prefix} H5PART_DIR=${prefix} H5PART_LIBS="-L${prefix}/lib -lH5Part" 72 depends_lib-append port:h5part 71 73 } 72 74 73 variant read_extraformats1 description {compiles additional data reads: foulkes, mbatesph, oilonwater, rsph, urban (f/b/o/r/usplash)} conflicts read_ hdf5formats read_extraformats2 {74 build.args-append allfoulkes mbatesph oilonwater rsph urban75 variant read_extraformats1 description {compiles additional data reads: foulkes, mbatesph, oilonwater, rsph, urban (f/b/o/r/usplash)} conflicts read_extraformats2 { 76 build.args-append foulkes mbatesph oilonwater rsph urban 75 77 } 76 78 77 79 variant read_extraformats2 description {compiles additional data reads: Bauswein, UCLA, vanaverbeke data read (bsplash, usplash, vsplash)} conflicts read_extraformats1 { 78 build.args-append allbauswein ucla vanaverbeke80 build.args-append bauswein ucla vanaverbeke 79 81 }