# -*- 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

PortSystem 1.0

name                dsh
version             0.25.10
categories          net
license             GPL-2
platforms           darwin
maintainers         nomaintainer

description         Distributed shell: runs a command through rsh or ssh on a cluster of machines.
long_description \
    Dsh executes a command remotely on several different machines at \
    the same time. A utility to effectively do the equivalent of     \
    \"for a in \$(seq 1 10)\; do rsh \$a command\; done\"            \
    in Bourne shell.

homepage            http://www.netfort.gr.jp/~dancer/software/dsh.html.en
master_sites        http://www.netfort.gr.jp/~dancer/software/downloads/

checksums           rmd160  2a60c27f8c0b7d4546f3cf96b37aaa01cbd0579c \
                    sha256  520031a5474c25c6b3f9a0840e06a4fea4750734043ab06342522f533fa5b4d0

depends_lib         port:libdshconfig
depends_run         port:openssh

# HACK: There is only one translation of the man pages in the current version.
# If more are added in future, then the Makefile.in patch will no longer work
# since LC_CTYPE would need to be set differently for each translation.
# Alternatively, the files could be converted to UTF-8.
patchfiles          patch-dsh.conf.diff patch-Makefile.in.diff

test.run            yes
test.target         check-TESTS