[81491] trunk/dports/net/openssh/Portfile

cal at macports.org cal at macports.org
Sun Jul 31 15:07:29 PDT 2011


Revision: 81491
          http://trac.macports.org/changeset/81491
Author:   cal at macports.org
Date:     2011-07-31 15:07:28 -0700 (Sun, 31 Jul 2011)
Log Message:
-----------
openssh: Variant installing ssh_copy_id, closes #27049, openmaintainer

Modified Paths:
--------------
    trunk/dports/net/openssh/Portfile

Modified: trunk/dports/net/openssh/Portfile
===================================================================
--- trunk/dports/net/openssh/Portfile	2011-07-31 21:59:44 UTC (rev 81490)
+++ trunk/dports/net/openssh/Portfile	2011-07-31 22:07:28 UTC (rev 81491)
@@ -58,6 +58,13 @@
   reinplace "s|#Port 22|Port 2222|g" ${destroot}${prefix}/etc/ssh/sshd_config
 }
 
+variant ssh_copy_id description "Install ssh-copy-id utility" {
+  post-destroot {
+    xinstall -m 755 ${worksrcpath}/contrib/ssh-copy-id ${destroot}${prefix}/bin
+    xinstall -m 644 ${worksrcpath}/contrib/ssh-copy-id.1 ${destroot}${prefix}/share/man/man1
+  }
+}
+
 variant no_x11 {
   configure.args-delete --with-xauth=${prefix}/bin/xauth
   depends_run-delete    port:xauth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110731/f406a639/attachment-0001.html>


More information about the macports-changes mailing list