Ticket #38799: mosh-bash-completion.patch
File mosh-bash-completion.patch, 966 bytes (added by macports@…, 11 years ago) |
---|
-
Portfile
old new 5 5 6 6 name mosh 7 7 version 1.2.4 8 revision 1 8 9 categories net 9 10 license GPL-3+ 10 11 platforms darwin … … 31 32 reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl5.12|" ${worksrcpath}/scripts/mosh 32 33 } 33 34 35 variant bash_completion { 36 depends_run-append path:etc/bash_completion:bash-completion 37 post-destroot { 38 xinstall -d ${destroot}${prefix}/etc/bash_completion.d 39 copy ${worksrcpath}/conf/bash_completion.d/mosh \ 40 ${destroot}${prefix}/etc/bash_completion.d/mosh 41 } 42 } 43 34 44 livecheck.type regex 35 45 livecheck.url ${homepage} 36 46 livecheck.regex "[quotemeta ${name}]-(\[0-9a-z.\]+)[quotemeta ${extract.suffix}]"