# -*- 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/dolthub/dolt 1.81.4 v
go.offline_build    no
revision            1

description         \
    Dolt is Git for Data - It's like Git and MySQL had a baby!

long_description    \
    Dolt is a SQL database that you can fork, clone, branch, merge, push and \
    pull just like a git repository. Connect to Dolt just like any MySQL \
    database to run queries or update the data using SQL commands. Use the \
    command line interface to import CSV files, commit your changes, push \
    them to a remote, or merge your teammate's changes.

categories          devel databases
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  cf97595d9c1d8b038dfdeebb68a48e4f0d463860 \
                    sha256  77735e9905301978d6ab6d15859c0c6a56451e5b76aa55d60598399651e994ae \
                    size    12535873

build.dir           ${worksrcpath}/go
build.target        ./cmd/dolt
depends_lib-append  path:lib/pkgconfig/icu-uc.pc:icu

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