[118943] trunk/dports/science/openmpi/Portfile
sean at macports.org
sean at macports.org
Sun Apr 13 19:31:58 PDT 2014
Revision: 118943
https://trac.macports.org/changeset/118943
Author: sean at macports.org
Date: 2014-04-13 19:31:57 -0700 (Sun, 13 Apr 2014)
Log Message:
-----------
openmpi: remove obsolete and depend on default as mpich does
Modified Paths:
--------------
trunk/dports/science/openmpi/Portfile
Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile 2014-04-14 02:31:51 UTC (rev 118942)
+++ trunk/dports/science/openmpi/Portfile 2014-04-14 02:31:57 UTC (rev 118943)
@@ -125,7 +125,6 @@
if {[string first "-default" $subport] < 0} {
configure.compiler [lindex $clist($cname) 0]
append long_description "\\n\\nTHIS SUBPORT WRAPS ${cname}'s C/C++"
- depends_lib-append port:${name}-default
} else {
append long_description \
"\\n\\nTHIS SUBPORT WRAPS MACPORTS' DEFAULT COMPILER FOR C/C++"
@@ -278,10 +277,16 @@
livecheck.url http://www.open-mpi.org/software/ompi/v1.7/
livecheck.regex openmpi-(\[0-9\.\]+).tar.bz2
-} elseif {[string first "-devel" $subport] > 0} {
- replaced_by openmpi-devel-default
- PortGroup obsolete 1.0
} else {
- replaced_by openmpi-default
- PortGroup obsolete 1.0
+ depends_lib-append port:$name-default
+ distfiles
+ supported_archs noarch
+ patch {}
+ build {}
+ configure {}
+ destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ system "echo $name is a stub port > ${docdir}/README"
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140413/44aee530/attachment.html>
More information about the macports-changes
mailing list