[116769] trunk/dports/science/mpich-devel/Portfile

eborisch at macports.org eborisch at macports.org
Thu Feb 6 10:23:39 PST 2014


Revision: 116769
          https://trac.macports.org/changeset/116769
Author:   eborisch at macports.org
Date:     2014-02-06 10:23:39 -0800 (Thu, 06 Feb 2014)
Log Message:
-----------
mpich-devel: Update to 3.1rc3; retain -devel man pages. mpich-devel-X no longer depends on mpich-devel-default.

Modified Paths:
--------------
    trunk/dports/science/mpich-devel/Portfile

Modified: trunk/dports/science/mpich-devel/Portfile
===================================================================
--- trunk/dports/science/mpich-devel/Portfile	2014-02-06 18:12:09 UTC (rev 116768)
+++ trunk/dports/science/mpich-devel/Portfile	2014-02-06 18:23:39 UTC (rev 116769)
@@ -6,9 +6,9 @@
 PortGroup           select 1.0
 
 name                mpich-devel
-version             3.1rc2
+version             3.1rc3
 distname            mpich-${version}
-revision            2
+revision            0
 
 license             BSD
 categories          science parallel net
@@ -31,10 +31,10 @@
                     through an easy-to-extend modular framework for other\
                     derived implementations.\
                     \
-                    \n\nThe mpich port follows the latest mpich 3.x line, and is \
-                    the successor to the mpich2 port. Starting with the major \
-                    release in November 2012, the project is renamed back to \
-                    MPICH (from MPICH2) with a version number of 3.0.
+                    \n\nThe mpich port follows the latest mpich 3.x line, and\
+                    is the successor to the mpich2 port. Starting with the\
+                    major release in November 2012, the project is renamed\
+                    back to MPICH (from MPICH2) with a version number of 3.0.
 homepage            http://www.mpich.org/
 
 # Force local builds to avoid missing compilers (possible if grabbed from
@@ -47,8 +47,8 @@
 universal_variant   no
 
 checksums \
-    rmd160  c4407ee72e64bf3aeacdd624946f39a175d6afce \
-    sha256  f16a7f5d88aad90aff007ed43a3170f03025178e8657a3b2b093e5845833c74a
+    rmd160  647293f5d1ab589a5fcceb6930cb57ef332b3532 \
+    sha256  4f0673f69b29d252288e841d2e027af38b6a3621854f78a957277e6fd05d843a
 
 configure.args      --disable-dependency-tracking \
                     --disable-f77 \
@@ -148,7 +148,6 @@
     if {${subport} != "${name}-default"} {
         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++"
@@ -161,9 +160,13 @@
         --includedir=${prefix}/include/${name}-${cname}
 
     post-destroot {
-        # This version doesn't supply doc/manpages
-        delete ${destroot}${prefix}/share/man
-        delete ${destroot}${prefix}/share/doc
+        # Supply our own -devel manpages (might be materially different / new)
+        move ${destroot}${prefix}/share/man \
+            ${destroot}${prefix}/share/doc/mpich/
+        move ${destroot}${prefix}/share/doc/mpich \
+            ${destroot}${prefix}/share/doc/mpich-devel-${cname}
+        system -W ${destroot}${prefix}/share/doc/mpich-devel-${cname}/man \
+            "/usr/bin/find . -type f -print0 | /usr/bin/xargs -0 -P ${build.jobs} /usr/bin/gzip -v"
     }
 
     if { [string first gcc $cname] == 0 } {
@@ -266,6 +269,8 @@
 | version you get when you run 'mpicc/mpicxx'), please run:
 |
 | sudo port select --set mpi [file tail ${select.file}]
+| To see the -devel MAN pages, add ${prefix}/share/doc/mpich-devel-${cname}/man
+| to the start of your MANPATH environment variable.
 +-------------------------
 
 "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140206/1c4b4fff/attachment.html>


More information about the macports-changes mailing list