[100316] trunk/dports/science/lalxml/Portfile
ram at macports.org
ram at macports.org
Fri Dec 7 23:07:26 PST 2012
Revision: 100316
https://trac.macports.org/changeset/100316
Author: ram at macports.org
Date: 2012-12-07 23:07:26 -0800 (Fri, 07 Dec 2012)
Log Message:
-----------
science/lalxml: use active variants port group
Modified Paths:
--------------
trunk/dports/science/lalxml/Portfile
Modified: trunk/dports/science/lalxml/Portfile
===================================================================
--- trunk/dports/science/lalxml/Portfile 2012-12-08 07:07:20 UTC (rev 100315)
+++ trunk/dports/science/lalxml/Portfile 2012-12-08 07:07:26 UTC (rev 100316)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup active_variants 1.1
name lalxml
version 1.1.5
@@ -37,17 +38,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 "
-****
-**** LALXML +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/f8b9570d/attachment.html>
More information about the macports-changes
mailing list