[26213] trunk/dports/devel/libssh2/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 15 13:32:26 PDT 2007


Revision: 26213
          http://trac.macosforge.org/projects/macports/changeset/26213
Author:   pmq at macports.org
Date:     2007-06-15 13:32:26 -0700 (Fri, 15 Jun 2007)

Log Message:
-----------
Adds the sample app as documentation. I'm still having problems with this lib, but so little time to look into it.
End goal is committing my local medusa Portfile.

Modified Paths:
--------------
    trunk/dports/devel/libssh2/Portfile

Modified: trunk/dports/devel/libssh2/Portfile
===================================================================
--- trunk/dports/devel/libssh2/Portfile	2007-06-15 20:08:04 UTC (rev 26212)
+++ trunk/dports/devel/libssh2/Portfile	2007-06-15 20:32:26 UTC (rev 26213)
@@ -26,3 +26,9 @@
     reinplace "s|-flat_namespace|-install_name ${prefix}/lib/${name}.dylib|" \
         ${worksrcpath}/configure
 }
+
+post-destroot {
+    # also install the sample code
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    xinstall ${worksrcpath}/ssh2_sample.c ${destroot}${prefix}/share/doc/${name}/
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070615/c2f17598/attachment.html


More information about the macports-changes mailing list