Revision
81491
Author
cal@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

Diff

Modified: trunk/dports/net/openssh/Portfile (81490 => 81491)


--- 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