[150313] trunk/dports/science/gds/Portfile

khindenburg at macports.org khindenburg at macports.org
Fri Jul 15 07:46:23 PDT 2016


Revision: 150313
          https://trac.macports.org/changeset/150313
Author:   khindenburg at macports.org
Date:     2016-07-15 07:46:23 -0700 (Fri, 15 Jul 2016)
Log Message:
-----------
gds: update to 2.17.7 maintainer #51771

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

Modified: trunk/dports/science/gds/Portfile
===================================================================
--- trunk/dports/science/gds/Portfile	2016-07-15 10:57:40 UTC (rev 150312)
+++ trunk/dports/science/gds/Portfile	2016-07-15 14:46:23 UTC (rev 150313)
@@ -2,10 +2,11 @@
 
 PortSystem    1.0
 PortGroup     conflicts_build 1.0
+PortGroup     active_variants 1.1
+PortGroup     python 1.0
 
 name          gds
-version       2.17.4
-revision      2
+version       2.17.7
 categories    science
 platforms     darwin
 maintainers   ligo.org:ed.maros
@@ -17,11 +18,10 @@
   routines for gravitational wave data analysis.
 
 homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html
-master_sites  http://software.ligo.org/lscsoft/source \
-              http://www.ligo.caltech.edu/~jzweizig/gds-unshackled
+master_sites  http://software.ligo.org/lscsoft/source/
 
-checksums     rmd160 91951e77886352e3649d13e52c7c4d8b56376f37 \
-              sha256 7adf49b74c0c380363ffef3249cf8b4edd2b3cce93f29d97640c92e538107c5c
+checksums     rmd160 f0adb880b4b7f347e482c724aba7f7302c2af553 \
+              sha256 ed35be0f76b3efd18322fe5a0c9f5880479dd03e286922642960935c7c8c43e1
 
 depends_build-append port:pkgconfig \
               port:swig \
@@ -33,35 +33,41 @@
               port:fftw-3 \
               port:fftw-3-single \
               port:hdf5 \
+              port:jsoncpp \
               port:ldas-tools \
               port:root5 \
               port:metaio
 
+require_active_variants port:root5 python27
+
+#------------------------------------------------------------------------
+# Fix things after PortGroup python
+#------------------------------------------------------------------------
+use_configure      yes
+use_parallel_build yes
+build.cmd          make
+build.target       all
+destroot.cmd       ${build.cmd}
+destroot.target    install
+destroot.destdir   DESTDIR=${destroot}
+destroot.args      " "
+destroot.pre_args      ${destroot.target}
+destroot.post_args      ${destroot.destdir}
+
 configure.python ${prefix}/bin/python2.7
 configure.args --enable-online \
                --enable-dtt \
-               --disable-python \
-               --enable-only-dtt \
-               --disable-root-objects \
-               --disable-monitors
+               --enable-python \
+	       --enable-root-objects \
+	       --with-jsoncpp=${prefix}
 
-use_parallel_build yes
+destroot.args-append \
+              pythondir="${python.pkgd}" \
+              pyexecdir="${python.pkgd}" \
+              pkgpythondir="${python.pkgd}/${name}" \
+              pkgpyexecdir="${python.pkgd}/${name}"
 
-default_variants    +python
-
-variant python description {build with python support} {
-  configure.args-replace --disable-python --enable-python
-  configure.args-delete  --enable-only-dtt
-
-  set pythondir "${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages"
-
-  destroot.args-append \
-              pythondir="${pythondir}" \
-              pyexecdir="${pythondir}" \
-              pkgpythondir="${pythondir}/${name}" \
-              pkgpyexecdir="${pythondir}/${name}"
-}
-
+#
 # The macports version of sasl2 leads to a 5 minute latency for each
 # socket connection.
 conflicts_build  cyrus-sasl2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160715/72a76e7e/attachment-0001.html>


More information about the macports-changes mailing list