[94988] trunk/dports/science
thibaut at macports.org
thibaut at macports.org
Tue Jul 3 05:23:08 PDT 2012
Revision: 94988
https://trac.macports.org/changeset/94988
Author: thibaut at macports.org
Date: 2012-07-03 05:23:06 -0700 (Tue, 03 Jul 2012)
Log Message:
-----------
Gyoto: new port, version 0.0.3; see #34088
Added Paths:
-----------
trunk/dports/science/Gyoto/
trunk/dports/science/Gyoto/Portfile
Added: trunk/dports/science/Gyoto/Portfile
===================================================================
--- trunk/dports/science/Gyoto/Portfile (rev 0)
+++ trunk/dports/science/Gyoto/Portfile 2012-07-03 12:23:06 UTC (rev 94988)
@@ -0,0 +1,48 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup github 1.0
+
+github.setup gyoto Gyoto 0.0.3
+license GPL-3+
+categories science yorick
+platforms darwin
+maintainers thibaut 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 79418d7131c8d6af33c1f30bc86d9f07ce2f376a \
+ sha256 f6bbb6e148cdffd5e2482d37f13bfe8ed543918d20e0b803a935dce93760a46d
+
+depends_lib port:cfitsio \
+ port:xercesc3 \
+ path:bin/yorick:yorick
+
+depends_run port:yorick-yutils
+
+# yorick is not universal
+universal_variant no
+
+configure {
+ reinplace "s|yorick|${prefix}/bin/yorick|" ${worksrcpath}/local_settings
+ reinplace "s|/opt/local|${prefix}|" ${worksrcpath}/local_settings
+ reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/local_settings
+ reinplace "s|-dynamiclib|-install_name ${prefix}/lib/libgyoto.dylib -dynamiclib|" ${worksrcpath}/local_settings
+ reinplace "s|g++|${configure.cxx}|" ${worksrcpath}/local_settings
+ reinplace "s|CPPFLAGS = .*|CPPFLAGS = ${configure.cppflags}|" ${worksrcpath}/local_settings
+ reinplace "s|LDFLAGS = .*|LDFLAGS = ${configure.ldflags}|" ${worksrcpath}/local_settings
+ reinplace "s|CXXFLAGS = .*|CXXFLAGS = ${configure.cxxflags}|" ${worksrcpath}/local_settings
+ reinplace "s| -Wcast-align -Wconversion -Winline \\\\||" ${worksrcpath}/local_settings
+ reinplace "s| -Wabi -Woverloaded-virtual -Wno-long-long -fPIC||" ${worksrcpath}/local_settings
+}
+
+# parallel builds fail
+use_parallel_build no
+
+build.args-append Y_CFLAGS="${configure.cxxflags}" Y_CPPFLAGS="${configure.cppflags}" CC="${configure.cc}" COPT_DEFAULT="" Y_LDFLAGS="${configure.ldflags}"
Property changes on: trunk/dports/science/Gyoto/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120703/37b13224/attachment.html>
More information about the macports-changes
mailing list