[99904] trunk/dports/science/lalapps/Portfile

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


Revision: 99904
          https://trac.macports.org/changeset/99904
Author:   ram at macports.org
Date:     2012-11-20 19:33:18 -0800 (Tue, 20 Nov 2012)
Log Message:
-----------
science/lalapps: update to 6.10.0

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

Modified: trunk/dports/science/lalapps/Portfile
===================================================================
--- trunk/dports/science/lalapps/Portfile	2012-11-21 03:33:09 UTC (rev 99903)
+++ trunk/dports/science/lalapps/Portfile	2012-11-21 03:33:18 UTC (rev 99904)
@@ -3,7 +3,8 @@
 PortSystem    1.0
 
 name          lalapps
-version       6.9.1
+version       6.10.0
+revision      1
 categories    science
 platforms     darwin
 maintainers   ram
@@ -17,8 +18,8 @@
 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 73253a6346604436f7607c8255c4ede631086b5d \
-              sha256 96acbf55c499e3315030cbbe816cfa035d7ae1dcb23cd79edb0a9bc028244291
+checksums     rmd160 1bb072ba0564ebef6a61bca581548b3c24dbb7b9 \
+              sha256 01ff7b9d813a060b2c000fac1ec4bda6ef4ab21029c55203a6efe03ca54b2ffc
 
 depends_build port:pkgconfig
 
@@ -31,7 +32,6 @@
               port:lal \
               port:lalframe \
               port:lalmetaio \
-              port:lalxml \
               port:lalsimulation \
               port:lalburst \
               port:lalinspiral \
@@ -43,12 +43,39 @@
 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 "
+****
+**** LALApps +lalxml requires LALPulsar +lalxml, please
+**** reinstall LALPulsar with the +lalxml variant.
+****
+"
+    error "${name} +lalxml requires lalpulsar +lalxml"
+    }
+    if { ![file exists ${prefix}/include/lal/LALInferenceXML.h] } {
+      ui_error "
+****
+**** LALApps +lalxml requires LALInference +lalxml, please
+**** reinstall LALInference with the +lalxml variant.
+****
+"
+    error "${name} +lalxml requires lalinference +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  {lalapps-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121120/89988e05/attachment.html>


More information about the macports-changes mailing list