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

go.setup            github.com/cespare/reflex 0.3.1 v
name                go-reflex
revision            0

description         Run a command when files change

long_description    Reflex is a small tool to watch a directory and rerun a \
                    command when certain files change. It's great for \
                    automatically running compile/lint/test tasks and for \
                    reloading your application when the code changes.

categories          sysutils
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

destroot {
    xinstall -m 0755 ${worksrcpath}/reflex ${destroot}${prefix}/bin/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  387f95924ffa440039958374d702a553819b1326 \
                        sha256  efe3dc7bc64b5a978c6e7f790e3d210aed16bd7e43c7fbc2713fe4b16a7a183e \
                        size    17987

go.vendors          golang.org/x/sys \
                        lock    d0be0721c37e \
                        rmd160  342ab0b5ccc39a2528a1adb5ac6150716f904766 \
                        sha256  56c3bab2b87746696dc41025c4001dc3bcd7b35aea9ce069d9c166d5a92164aa \
                        size    1075875 \
                    github.com/ogier/pflag \
                        lock    v0.0.1 \
                        rmd160  2ae8b2349338d4154853f00584b923f327e8c16c \
                        sha256  9f30f4ba577ff93eff99864e5f1844d0502cae0f266ca21c63a6d7463f090f1e \
                        size    15183 \
                    github.com/kr/text \
                        lock    v0.1.0 \
                        rmd160  0b3c78459e227170a3b80a0103d87a3eef77ed88 \
                        sha256  5ed970aad0da3cba3cffacdb4d154a162a8968655ee6d6f7b627e71b869efaf6 \
                        size    8691 \
                    github.com/kr/pretty \
                        lock    v0.1.0 \
                        rmd160  9aa7a5aad4c48840eecfd0f80186d1fb5ded0fd6 \
                        sha256  f6c3f89667c63e5b7f1fc6ee2c06b6a6bfdce88f3a965ccd395b64c6f95c9a47 \
                        size    8553 \
                    github.com/kballard/go-shellquote \
                        lock    95032a82bc51 \
                        rmd160  40415cd59ece9fb38b22170feec07f1f48d518a2 \
                        sha256  41aa42696f96fb2783c5135d71ff1ec5938dfe178b51eb703e509c8ac0e7db4e \
                        size    4335 \
                    github.com/fsnotify/fsnotify \
                        lock    v1.4.7 \
                        rmd160  24712e412814020224e2779186e634610e2f6926 \
                        sha256  bc839ee158ad34b81c1f11c3b9e3bcbabfba3297f61d165599880c400b8171dc \
                        size    31147 \
                    github.com/creack/pty \
                        lock    v1.1.11 \
                        rmd160  59af3958845963790280e10bb0ff275e202406c5 \
                        sha256  648758575d338a1abcc7f3f3cbc9c138f079355d4defe709949ecd7e639c48a2 \
                        size    8407
