[100317] trunk/dports/science/lalsimulation/Portfile
ram at macports.org
ram at macports.org
Fri Dec 7 23:07:32 PST 2012
Revision: 100317
https://trac.macports.org/changeset/100317
Author: ram at macports.org
Date: 2012-12-07 23:07:32 -0800 (Fri, 07 Dec 2012)
Log Message:
-----------
science/lalsimulation: use active variants port group
Modified Paths:
--------------
trunk/dports/science/lalsimulation/Portfile
Modified: trunk/dports/science/lalsimulation/Portfile
===================================================================
--- trunk/dports/science/lalsimulation/Portfile 2012-12-08 07:07:26 UTC (rev 100316)
+++ trunk/dports/science/lalsimulation/Portfile 2012-12-08 07:07:32 UTC (rev 100317)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup active_variants 1.1
name lalsimulation
version 0.5.0
@@ -36,17 +37,7 @@
use_parallel_build yes
variant swig_python description {Build python SWIG bindings} {
- pre-fetch {
- if { ![file exists ${prefix}/lib/python2.7/site-packages/lal/_lal.so] } {
- ui_error "
-****
-**** LALSimulation +swig_python requires LAL +swig_python, please
-**** reinstall LAL with the +swig_python variant.
-****
-"
- error "${name} +swig_python requires lal +swig_python"
- }
- }
+ require_active_variants lal swig_python
depends_build-append port:swig-python \
port:py27-numpy
configure.args-append --enable-swig-python
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121207/b4dcda1a/attachment.html>
More information about the macports-changes
mailing list