# -*- 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
PortGroup active_variants 1.1
github.setup gyoto Gyoto 1.2.0
categories science yorick
maintainers {thibaut @paumard} openmaintainer
description General relativistic geodesic integration and ray-tracing
long_description Gyoto aims at providing a framework for computing orbits \
and ray-traced images in General relativity. It consists \
in a C++ shared library (libgyoto), utility programs \
(gyoto, gyotoy), and a plug-in for the Yorick programming \
language. Gyoto can be extended with plug-ins.
homepage http://gyoto.obspm.fr
checksums rmd160 db4745d6cefcd4718442beca9c718583e737d73b \
sha256 790868d1b3cb4344d2b980a82192421f355b279f7bbe1de8f8bf217179ef291e
depends_build port:LORENE \
depends_lib port:cfitsio \
depends_run port:yorick-yutils \
# yorick is not universal
configure.args --with-yorick=${prefix}/bin/yorick \
--with-lorene=${prefix}/lib/lorene \
--with-udunits-inc=${prefix}/include/udunits2/ \
--with-udunits-lib=-L${prefix}/lib/ \
build.args-append Y_CFLAGS="${configure.cxxflags}" Y_CPPFLAGS="${configure.cppflags}" CC="${configure.cc}" COPT_DEFAULT="" Y_LDFLAGS="${configure.ldflags}"
test.target check check-lorene
compilers.enforce_c lorene
if {![catch {set result [active_variants boost openmpi {}]}]} {
default_variants +openmpi
if {[active_variants boost mpich {}]} {