# -*- 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/ultralist/ultralist 1.7.0
github.tarball_from archive
revision            1

homepage            https://ultralist.io

description         Simple task management for tech folks.

long_description    Ultralist is a task management system for technical \
                    people. It is a command-line component that is very fast \
                    and stays out of the way.  Ultralist is based off of the \
                    Getting Things Done system. It has a concept of due \
                    dates, projects, and contexts.

checksums           ${distname}${extract.suffix} \
                        rmd160  41ed95ec49be20132fa180a1d18ce821324e3bdc \
                        sha256  abd375f83acb7235434bbf9ae8266113ec79d98d6d1e5d92d3224bdcbe7aa3c6 \
                        size    2138720

categories          office
license             MIT
installs_libs       no

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

build.args-append   -o ${workpath}/${name}

destroot {
    xinstall -m 755 ${workpath}/${name} ${destroot}${prefix}/bin/
}

# The vendored golang.org/x/sys is too old to compile with a current Go.
post-extract {
    delete ${worksrcpath}/vendor/golang.org/x/sys
}

go.vendors          golang.org/x/sys \
                        lock    v0.47.0 \
                        rmd160  1be59a8208fd6f7f4319b306138e77f215293e1a \
                        sha256  2bed220513067f721fc7c19314bab58860c28397f5e48093a8fe35a27a915b06 \
                        size    1551474
