[116326] trunk/dports/science/mpich-devel/Portfile
sean at macports.org
sean at macports.org
Thu Jan 23 12:10:48 PST 2014
Revision: 116326
https://trac.macports.org/changeset/116326
Author: sean at macports.org
Date: 2014-01-23 12:10:48 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
mpich-devel: remove docs from default subport
Modified Paths:
--------------
trunk/dports/science/mpich-devel/Portfile
Modified: trunk/dports/science/mpich-devel/Portfile
===================================================================
--- trunk/dports/science/mpich-devel/Portfile 2014-01-23 20:10:43 UTC (rev 116325)
+++ trunk/dports/science/mpich-devel/Portfile 2014-01-23 20:10:48 UTC (rev 116326)
@@ -111,7 +111,7 @@
lammpi \
openmpi
-depends_lib-append port:libxml2
+depends_lib-append port:libxml2 port:mpi-doc
# Linker for Apple clang version 421.11.66 segfaults
# See https://trac.macports.org/ticket/36654#comment:9
@@ -157,19 +157,9 @@
}
post-destroot {
- if {${subport} != "${name}-default"} {
-# This version doesn't supply doc/manpages
-# they would conflict with -default
- delete ${destroot}${prefix}/share/man
- delete ${destroot}${prefix}/share/doc
- } else {
- xinstall -d ${destroot}${prefix}/lib/pkgconfig
- file copy \
- ${destroot}${prefix}/lib/mpich-devel-${cname}/pkgconfig/mpich.pc \
- ${destroot}${prefix}/lib/mpich-devel-${cname}/pkgconfig/openpa.pc \
- ${destroot}${prefix}/lib/pkgconfig/
- }
-
+ # This version doesn't supply doc/manpages
+ delete ${destroot}${prefix}/share/man
+ delete ${destroot}${prefix}/share/doc
}
if { [string first gcc $cname] == 0 } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/b7dd2a4e/attachment.html>
More information about the macports-changes
mailing list