[105276] trunk/dports/net/mosh/Portfile

cal at macports.org cal at macports.org
Mon Apr 15 15:58:01 PDT 2013


Revision: 105276
          https://trac.macports.org/changeset/105276
Author:   cal at macports.org
Date:     2013-04-15 15:58:01 -0700 (Mon, 15 Apr 2013)
Log Message:
-----------
mosh: install bash completion, closes #38799, maintainer approval

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

Modified: trunk/dports/net/mosh/Portfile
===================================================================
--- trunk/dports/net/mosh/Portfile	2013-04-15 21:52:58 UTC (rev 105275)
+++ trunk/dports/net/mosh/Portfile	2013-04-15 22:58:01 UTC (rev 105276)
@@ -5,6 +5,7 @@
 
 name                    mosh
 version                 1.2.4
+revision                2
 categories              net
 license                 GPL-3+
 platforms               darwin
@@ -31,6 +32,12 @@
     reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl5.12|" ${worksrcpath}/scripts/mosh
 }
 
+post-destroot {
+    xinstall -d ${destroot}${prefix}/etc/bash_completion.d
+    copy ${worksrcpath}/conf/bash_completion.d/mosh \
+         ${destroot}${prefix}/etc/bash_completion.d/mosh
+}
+
 livecheck.type          regex
 livecheck.url           ${homepage}
 livecheck.regex         "[quotemeta ${name}]-(\[0-9a-z.\]+)[quotemeta ${extract.suffix}]"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130415/297ed1da/attachment.html>


More information about the macports-changes mailing list