[72358] trunk/dports/science/openmpi/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Oct 11 17:26:44 PDT 2010


Revision: 72358
          http://trac.macports.org/changeset/72358
Author:   ryandesign at macports.org
Date:     2010-10-11 17:26:42 -0700 (Mon, 11 Oct 2010)
Log Message:
-----------
openmpi: use ${branch} variable

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

Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile	2010-10-11 22:23:25 UTC (rev 72357)
+++ trunk/dports/science/openmpi/Portfile	2010-10-12 00:26:42 UTC (rev 72358)
@@ -4,6 +4,7 @@
 
 name			openmpi
 version			1.5
+set branch		[join [lrange [split ${version} .] 0 1] .]
 categories		science parallel net
 platforms		darwin
 maintainers		mww openmaintainer
@@ -16,7 +17,7 @@
 			and computer science researchers.
 
 homepage		http://www.open-mpi.org/
-set subdir		ompi/v1.5/downloads/
+set subdir		ompi/v${branch}/downloads/
 master_sites		http://www.open-mpi.org/software/${subdir} \
 			http://www.open-mpi.de/software/${subdir} \
 			http://icl.cs.utk.edu/open-mpi/${subdir} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101011/9ffde836/attachment.html>


More information about the macports-changes mailing list