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

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

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • 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 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem              1.0
5
6name                    mosh
7version                 1.2.4
8revision                5
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  9569a4356efc8afc851ab64914d30e949a899533 \
21                        sha256  e74d0d323226046e402dd469a176075fc2013b69b0e67cea49762c957175df46
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.16-getopt-long
30
31post-patch {
32    reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl5.16|" ${worksrcpath}/scripts/mosh
33}
34
35post-destroot {
36    xinstall -d ${destroot}${prefix}/etc/bash_completion.d
37    copy ${worksrcpath}/conf/bash_completion.d/mosh \
38         ${destroot}${prefix}/etc/bash_completion.d/mosh
39}
40
41livecheck.type          regex
42livecheck.url           ${homepage}
43livecheck.regex         "[quotemeta ${name}]-(\[0-9a-z.\]+)[quotemeta ${extract.suffix}]"
Note: See TracBrowser for help on using the repository browser.