[122325] trunk/dports/sysutils/pssh/Portfile

dports at macports.org dports at macports.org
Sun Jul 20 17:04:23 PDT 2014


Revision: 122325
          https://trac.macports.org/changeset/122325
Author:   dports at macports.org
Date:     2014-07-20 17:04:23 -0700 (Sun, 20 Jul 2014)
Log Message:
-----------
pssh: install man pages (#43716)

Modified Paths:
--------------
    trunk/dports/sysutils/pssh/Portfile

Modified: trunk/dports/sysutils/pssh/Portfile
===================================================================
--- trunk/dports/sysutils/pssh/Portfile	2014-07-20 22:53:24 UTC (rev 122324)
+++ trunk/dports/sysutils/pssh/Portfile	2014-07-21 00:04:23 UTC (rev 122325)
@@ -7,6 +7,7 @@
 name                pssh
 python.default_version 27
 version             2.3.1
+revision            1
 categories          sysutils net
 platforms           darwin
 supported_archs     noarch
@@ -30,3 +31,11 @@
                     sha256  539f8d8363b722712310f3296f189d1ae8c690898eca93627fc89a9cb311f6b4
 
 python.link_binaries_suffix
+
+# link manpages too
+post-destroot {
+    xinstall -d "${destroot}${prefix}/man/man1"
+    foreach man [glob -nocomplain -tails -directory "${destroot}${python.prefix}/man/man1" *] {
+        ln -s "${python.prefix}/man/man1/${man}" "${destroot}${prefix}/man/man1/${man}"
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140720/8689136b/attachment.html>


More information about the macports-changes mailing list