source: trunk/dports/net/mosh/Portfile @ 140028

Last change on this file since 140028 was 140028, checked in by cal@…, 4 years ago

mosh: Use perl 5.22, #48365, maintainer approval in #48765

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 140028 2015-09-07 13:14:38Z cal@macports.org $
3
4PortSystem              1.0
5
6name                    mosh
7version                 1.2.5
8revision                1
9categories              net
10license                 {GPL-3+ OpenSSLException}
11platforms               darwin
12maintainers             mit.edu:quentin
13description             Mobile Shell
14long_description        Mosh is a replacement for ssh that better handles \
15                        high-latency, high-packet-loss, dynamically-addressed \
16                        network links
17homepage                http://mosh.mit.edu/
18master_sites            ${homepage}
19
20checksums               rmd160  3abb76e2adeb6a9e7d69b35621dfa7e172b1ce99 \
21                        sha256  1af809e5d747c333a852fbf7acdbf4d354dc4bbc2839e3afe5cf798190074be3
22
23depends_build           port:pkgconfig
24
25depends_lib             port:ncurses \
26                        port:protobuf-cpp \
27                        port:zlib \
28                        path:lib/libssl.dylib:openssl \
29                        port:p5.22-getopt-long \
30                        port:p5.22-io-socket-ip
31
32post-patch {
33    reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl5.22|" ${worksrcpath}/scripts/mosh.pl
34}
35
36post-destroot {
37    xinstall -d ${destroot}${prefix}/etc/bash_completion.d
38    copy ${worksrcpath}/conf/bash-completion/completions/mosh \
39         ${destroot}${prefix}/etc/bash_completion.d/mosh
40}
41
42livecheck.type          regex
43livecheck.url           ${homepage}
44livecheck.regex         "[quotemeta ${name}]-(\[0-9a-z.\]+)[quotemeta ${extract.suffix}]"
Note: See TracBrowser for help on using the repository browser.