[118950] trunk/dports/science/openmpi/Portfile
sean at macports.org
sean at macports.org
Sun Apr 13 19:32:46 PDT 2014
Revision: 118950
https://trac.macports.org/changeset/118950
Author: sean at macports.org
Date: 2014-04-13 19:32:46 -0700 (Sun, 13 Apr 2014)
Log Message:
-----------
openmpi: fix devel subport generation
Modified Paths:
--------------
trunk/dports/science/openmpi/Portfile
Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile 2014-04-14 02:32:38 UTC (rev 118949)
+++ trunk/dports/science/openmpi/Portfile 2014-04-14 02:32:46 UTC (rev 118950)
@@ -41,6 +41,24 @@
livecheck.url http://www.open-mpi.org/software/ompi/v1.7/
livecheck.regex openmpi-(\[0-9\.\]+).tar.bz2
+if {[string first "-devel" $subport] > 0} {
+ version 1.9a1
+ revision 31366
+ name openmpi-devel
+ distname openmpi-${version}r${revision}
+
+ master_sites http://www.open-mpi.org/nightly/trunk \
+ http://www.open-mpi.de/nightly/trunk
+
+ checksums md5 c6cfa49843ff952c5e8fb7336149992d \
+ sha1 1e91b178d8cd6e86bc8f9f60164f6c1c52d3dadc \
+ rmd160 e757c60f31e9b6c46f95c48084aa0e96e0d97708
+
+ livecheck.version ${revision}
+ livecheck.url http://www.open-mpi.org/nightly/trunk
+ livecheck.regex openmpi-${version}r(\[0-9\]+).tar.bz2
+}
+
# As OpenMPI creates compiler wrappers, there are lots of
# variants for what compiler the user would like to wrap.
@@ -70,26 +88,9 @@
subport ${name}-devel-${key} {}
}
subport ${name}-default {}
+subport ${name}-devel {}
subport ${name}-devel-default {}
-if {[string first "-devel" $subport] > 0} {
- version 1.9a1
- revision 31366
- name openmpi-devel
- distname openmpi-${version}r${revision}
-
- master_sites http://www.open-mpi.org/nightly/trunk \
- http://www.open-mpi.de/nightly/trunk
-
- checksums md5 c6cfa49843ff952c5e8fb7336149992d \
- sha1 1e91b178d8cd6e86bc8f9f60164f6c1c52d3dadc \
- rmd160 e757c60f31e9b6c46f95c48084aa0e96e0d97708
-
- livecheck.version ${revision}
- livecheck.url http://www.open-mpi.org/nightly/trunk
- livecheck.regex openmpi-${version}r(\[0-9\]+).tar.bz2
-}
-
pre-extract { file mkdir ${workpath}/build }
# https://trac.macports.org/ticket/39089
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140413/5ffa7614/attachment.html>
More information about the macports-changes
mailing list