Ticket #57765: Portfile.pdsh.txt

File Portfile.pdsh.txt, 2.3 KB (added by unix-fan, 5 years ago)
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
3PortSystem          1.0
4PortGroup           github 1.0
5github.setup        chaos pdsh 2.33
6
7categories          net
8platforms           darwin
9license             GPL-2+
10maintainers         gmail.com:james.trammell
11
12description         Parallel Distributed Shell
13long_description    Pdsh is a high-performance, parallel remote shell utility. It uses a \
14                    sliding window of threads to execute remote commands, conserving socket \
15                    resources while allowing some connections to timeout if needed. It was \
16                    originally written as a replacement for IBM's DSH on clusters at LLNL.
17
18homepage            https://github.com/chaos/pdsh
19
20checksums           rmd160  6acf5b14f4245aab9324526f60f0d7701100a811 \
21                    sha256  7368087429d6269f0a6313c406ef38c6a6a947bc003ca7368fc6481b139d942f
22
23master_sites        ${homepage}/releases/download/${github.project}-${github.version}
24
25configure.args      --with-ssh \
26                    --mandir=${prefix}/share/man
27
28default_variants    +dsh +nodeupdown +readline +no_rsh +genders
29
30variant dsh description {with dshgroups} {
31  configure.args-append --with-dshgroups
32}
33variant genders description {with genders} {
34  depends_lib-append port:genders
35  configure.args-append --with-genders
36}
37variant readline description {with readline} {
38  depends_lib-append port:readline
39  configure.args-append --with-readline
40}
41variant no_rsh description {without rsh} {
42  configure.args-append --without-rsh
43}
44variant nodeupdown description {with nodeupdown} {
45  configure.args-append --with-nodeupdown
46}
47
48livecheck.type      regex
49livecheck.url       ${homepage}/releases/latest
50livecheck.regex     ".*/releases/tag/pdsh-(.*)\\\">.*"
51
52# https://guide.macports.org/index.html
53# sudo cp ~/Desktop/Portfile.pdsh.txt /opt/local/var/macports/sources/github.com/macports/macports-ports/net/pdsh/Portfile && sudo port -vc sync && sudo rm -v /opt/local/var/macports/distfiles/pdsh/pdsh-2.33.tar.gz
54# sudo port -vc checksum pdsh
55# sudo port -vc distcheck pdsh
56# sudo port -vc livecheck pdsh
57# sudo port -vc build pdsh
58# sudo port -vc install pdsh
59# sudo port -vc uninstall pdsh
60# sudo port -vc clean pdsh