[108644] trunk/dports/science/Gyoto/Portfile

thibaut at macports.org thibaut at macports.org
Mon Jul 29 02:27:34 PDT 2013


Revision: 108644
          https://trac.macports.org/changeset/108644
Author:   thibaut at macports.org
Date:     2013-07-29 02:27:34 -0700 (Mon, 29 Jul 2013)
Log Message:
-----------
gyoto: new release 0.1.0

Modified Paths:
--------------
    trunk/dports/science/Gyoto/Portfile

Modified: trunk/dports/science/Gyoto/Portfile
===================================================================
--- trunk/dports/science/Gyoto/Portfile	2013-07-29 08:55:41 UTC (rev 108643)
+++ trunk/dports/science/Gyoto/Portfile	2013-07-29 09:27:34 UTC (rev 108644)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-github.setup        gyoto Gyoto 0.0.3
+github.setup        gyoto Gyoto 0.1.0
 license             GPL-3+
 categories          science yorick
 platforms           darwin
@@ -17,32 +17,27 @@
                     language. Gyoto can be extended with plug-ins.
 homepage            http://gyoto.obspm.fr
 
-checksums           rmd160  79418d7131c8d6af33c1f30bc86d9f07ce2f376a \
-                    sha256  f6bbb6e148cdffd5e2482d37f13bfe8ed543918d20e0b803a935dce93760a46d
+checksums           rmd160  f80ab4181f1807e23859492b18401e362ca785fa \
+                    sha256  6c1c7da1ac77975917063b1db3cf28f696b0f44573e6bc115a4ee0f6379b52f7
 
 depends_lib         port:cfitsio \
                     port:xercesc3 \
+                    port:udunits2 \
                     path:bin/yorick:yorick
 
-depends_run         port:yorick-yutils
+depends_run         port:yorick-yutils \
+                    port:yorick-gy
 
 # 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
-}
+configure.args      --with-yorick=${prefix}/bin/yorick --without-lorene --with-xerces --disable-doc --with-cfitsio \
+                    --with-udunits-inc=${prefix}/include/udunits2/ --with-udunits-lib=-L${prefix}/lib/
 
 # 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}"
+
+test.target          check
+test.run             yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130729/9bb2f9db/attachment.html>


More information about the macports-changes mailing list