[120913] trunk/dports/science/lscsoft-deps/Portfile

ram at macports.org ram at macports.org
Wed Jun 11 07:46:31 PDT 2014


Revision: 120913
          https://trac.macports.org/changeset/120913
Author:   ram at macports.org
Date:     2014-06-11 07:46:31 -0700 (Wed, 11 Jun 2014)
Log Message:
-----------
science/lscsoft-deps: add variants to fine tune dependencies

Modified Paths:
--------------
    trunk/dports/science/lscsoft-deps/Portfile

Modified: trunk/dports/science/lscsoft-deps/Portfile
===================================================================
--- trunk/dports/science/lscsoft-deps/Portfile	2014-06-11 13:10:52 UTC (rev 120912)
+++ trunk/dports/science/lscsoft-deps/Portfile	2014-06-11 14:46:31 UTC (rev 120913)
@@ -3,8 +3,7 @@
 PortSystem      1.0
 
 name            lscsoft-deps
-version         20130620
-revision        1
+version         20140611
 categories      science
 maintainers     ram aronnax
 platforms       darwin
@@ -20,27 +19,7 @@
 
 distfiles
 
-depends_run     port:python27 \
-                port:py27-healpy \
-                port:py27-numpy \
-                port:py27-pyrxp \
-                port:py27-m2crypto \
-                port:py27-cjson \
-                port:py27-pyxmpp \
-                port:py27-scipy \
-                port:py27-matplotlib \
-                port:py27-matplotlib-basemap \
-                port:pkgconfig \
-                port:fftw-3 \
-                port:fftw-3-single \
-                port:libframe \
-                port:metaio \
-                port:gsl \
-                port:healpix-c \
-                port:healpix-cxx \
-                port:libxml2 \
-                path:lib/pkgconfig/glib-2.0.pc:glib2 \
-                port:git \
+depends_run     port:git \
                 port:autoconf \
                 port:automake \
                 port:libtool
@@ -51,6 +30,55 @@
   system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}-${version}/README.txt"
 }
 
+variant glue description {Include dependencies for glue development} {
+  depends_run-append port:python27 \
+                     port:py27-numpy \
+                     port:py27-pyrxp \
+                     port:py27-m2crypto \
+                     port:py27-cjson \
+                     port:py27-pyxmpp \
+                     port:py27-libxml2 \
+                     port:py27-m2crypto \
+                     port:py27-dnspython
+}
+
+variant lalsuite requires glue description {Include dependencies for LALSuite development} {
+  depends_run-append port:pkgconfig \
+                     port:swig \
+                     port:swig-python \
+                     port:python27 \
+                     port:py27-numpy \
+                     port:py27-healpy \
+                     port:gsl \
+                     port:fftw-3 \
+                     port:fftw-3-single \
+                     port:libframe \
+                     port:metaio \
+                     port:libxml2 \
+                     path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                     port:healpix-c
+}
+
+variant pylal requires glue lalsuite description {Include dependencies for pyLAL development} {
+  depends_run-append port:python27 \
+                     port:pkgconfig \
+                     port:py27-numpy \
+                     port:py27-scipy \
+                     port:py27-matplotlib \
+                     port:py27-matplotlib-basemap
+}
+
+variant gstlal requires glue lalsuite pylal description {Include dependencies for gstlal development} {
+  depends_run-append port:orc \
+                     port:gstreamer010 \
+                     port:gstreamer010-gst-plugins-base \
+                     port:gstreamer010-gst-plugins-good \
+                     port:py27-gobject \
+                     port:py27-gst-python
+}
+
+default_variants +glue +pylal +lalsuite +gstlal
+
 notes \
 "To complete the installation and prepare your system for use, please run:
 \n\tsudo port select --set python python27"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140611/3e93d91c/attachment.html>


More information about the macports-changes mailing list