# -*- 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
PortGroup               github 1.0

github.setup            dokku dokku 0.30.6 v
github.tarball_from     archive

name                    dokku-client

categories              sysutils

maintainers             {@bashu gmail.com:bashu.was.here} openmaintainer

description             Command-line client for the Dokku PaaS

long_description        {*}${description}

license                 MIT

supported_archs         noarch
platforms               any

checksums               rmd160  472708720d8c9bdc37bddabc3fd6bf57a8672ffd \
                        sha256  83de306b14da3232c2a8c90aaf824b1c9395e99f9c0cc513db7dbe95b38b42d3 \
                        size    2181502

depends_run             path:bin/bash:bash

use_configure           no

build                   {}

destroot {
    xinstall -m 0755 ${worksrcpath}/contrib/dokku_client.sh ${destroot}${prefix}/bin/dokku
}

notes "
Run `dokku` from a repository with a git remote named `dokku` pointed
at your Dokku host in order to use the script as normal, e.g.:

   git remote add dokku dokku@<dokku-host>:<app-name>

or configure the `DOKKU_HOST`, `DOKKU_PORT` and `DOKKU_GIT_REMOTE`
environment variables, e.g.:

   export DOKKU_HOST=dokku.me
   export DOKKU_PORT=22
   export DOKKU_GIT_REMOTE=dokku
"

github.livecheck.regex  {([^"-]+)}
