# -*- 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/qri-io/qri 0.10.0 v

homepage            https://qri.io/

description         A global dataset version control system (GDVCS) built on \
                    the distributed web.

long_description    Qri is a global dataset version control system (GDVCS) \
                    built on the distributed web. Qri is global, specific to \
                    datasets, provides version control and runs on the \
                    distributed web, seeking to  solve common data problems \
                    around discovery, trust, friction & synchronization.

categories          devel net
license             GPL-3
platforms           darwin
installs_libs       no

maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  388255df762541f2fca7b40feabdfa9246e2b0b4 \
                    sha256  715b0e94407776e3456fca2dbc8d20ac8eb9ad9316539c9c82f81eb56545a643 \
                    size    4836891

build.cmd           make
build.target        build

# FIXME: This port currently can't be built without allowing go mod to fetch
# dependencies during the build phase. See
# https://trac.macports.org/ticket/61192
go.offline_build no

installs_libs       no

destroot {
    copy ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
