[152030] trunk/dports/net/mosh/Portfile
blair at macports.org
blair at macports.org
Sat Aug 27 09:18:01 PDT 2016
Revision: 152030
https://trac.macports.org/changeset/152030
Author: blair at macports.org
Date: 2016-08-27 09:18:01 -0700 (Sat, 27 Aug 2016)
Log Message:
-----------
mosh: switch to perl 5.24; closes #52095; maintainer timeout.
Modified Paths:
--------------
trunk/dports/net/mosh/Portfile
Modified: trunk/dports/net/mosh/Portfile
===================================================================
--- trunk/dports/net/mosh/Portfile 2016-08-27 15:26:43 UTC (rev 152029)
+++ trunk/dports/net/mosh/Portfile 2016-08-27 16:18:01 UTC (rev 152030)
@@ -2,10 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup perl5 1.0
name mosh
version 1.2.5
-revision 2
+revision 3
categories net
license {GPL-3+ OpenSSLException}
platforms darwin
@@ -20,17 +21,24 @@
checksums rmd160 3abb76e2adeb6a9e7d69b35621dfa7e172b1ce99 \
sha256 1af809e5d747c333a852fbf7acdbf4d354dc4bbc2839e3afe5cf798190074be3
+perl5.require_variant yes
+perl5.conflict_variants yes
+perl5.branches 5.22 5.24
+perl5.create_variants ${perl5.branches}
+perl5.default_branch 5.24
+
depends_build port:pkgconfig
depends_lib port:ncurses \
port:protobuf-cpp \
port:zlib \
path:lib/libssl.dylib:openssl \
- port:p5.22-getopt-long \
- port:p5.22-io-socket-ip
+ port:p${perl5.major}-getopt-long \
+ port:p${perl5.major}-io-socket-ip
post-patch {
- reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl5.22|" ${worksrcpath}/scripts/mosh.pl
+ reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl${perl5.major}|" \
+ ${worksrcpath}/scripts/mosh.pl
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160827/048e53f9/attachment.html>
More information about the macports-changes
mailing list