# -*- 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/danvergara/dblab 0.24.0 v
revision            0

description         Interactive client for PostgreSQL and MySQL

long_description    \
    dblab is a fast and lightweight interactive terminal based UI application \
    for PostgreSQL and MySQL, written in Go and works on OSX, Linux and \
    Windows machines.  dblab was created as an attempt to build very simple \
    and portable application to work with local or remote PostgreSQL/MySQL \
    databases.

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

checksums           rmd160  683f2431c084da6183bd1d1e3c376f63e5265c1a \
                    sha256  90aff1599727e752a6c5476273f89b34e1503065afa8dba34cb71f39d6bcdf3f \
                    size    9597866

# Allow Go to fetch deps at build time
go.offline_build no

build.cmd           make
build.target        build

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

github.livecheck.regex  {([0-9.]+)}
