[99903] trunk/dports/science/lalinference/Portfile

ram at macports.org ram at macports.org
Tue Nov 20 19:33:09 PST 2012


Revision: 99903
          https://trac.macports.org/changeset/99903
Author:   ram at macports.org
Date:     2012-11-20 19:33:09 -0800 (Tue, 20 Nov 2012)
Log Message:
-----------
science/lalinference: update to 1.0.0

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

Modified: trunk/dports/science/lalinference/Portfile
===================================================================
--- trunk/dports/science/lalinference/Portfile	2012-11-21 03:33:00 UTC (rev 99902)
+++ trunk/dports/science/lalinference/Portfile	2012-11-21 03:33:09 UTC (rev 99903)
@@ -3,7 +3,8 @@
 PortSystem    1.0
 
 name          lalinference
-version       0.4.0
+version       1.0.0
+revision      1
 categories    science
 platforms     darwin
 maintainers   ram
@@ -17,19 +18,17 @@
 homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html
 master_sites  http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/lalsuite
 
-checksums     rmd160 17e95a768a1358ecdaafd2e774941a5ca282411a \
-              sha256 19475785304ef0fce2fa17a874932714923bd433359b92a2b35aa4e2bcef4442
+checksums     rmd160 d122e20f74f9e85d1efa90a7bf7fbb57fa558693 \
+              sha256 dba8b7f9bee4e5d5b505385dfb4b428929e59006b8ea18cd68d956755e794912
 
 depends_build port:pkgconfig \
               port:python27
 
 depends_lib   port:gsl \
               port:metaio \
-              port:libxml2 \
               port:lal \
               port:lalframe \
               port:lalmetaio \
-              port:lalxml \
               port:lalsimulation \
               port:lalinspiral \
               port:lalpulsar
@@ -37,12 +36,30 @@
 configure.python ${prefix}/bin/python2.7
 configure.args --mandir=${prefix}/share/man \
                --disable-silent-rules \
-               --enable-lalxml \
                --disable-gcc-flags \
                --disable-debug
 
 use_parallel_build yes
 
+variant lalxml description {Build with LALXML support} {
+  pre-fetch {
+    if { ![file exists ${prefix}/include/lal/LALXMLVOTableSerializersPulsar.h] } {
+      ui_error "
+****
+**** LALInference +lalxml requires LALPulsar +lalxml, please
+**** reinstall LALPulsar with the +lalxml variant.
+****
+"
+    error "${name} +lalxml requires lalpulsar +lalxml"
+    }
+  }
+  depends_lib-append    port:libxml2 \
+                        port:lalxml
+  configure.args-append --enable-lalxml
+}
+
+default_variants +lalxml
+
 livecheck.type   regex
 livecheck.url    ${master_sites}
 livecheck.regex  {lalinference-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121120/22b6e874/attachment.html>


More information about the macports-changes mailing list