# -*- 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/chriswalz/bit 1.1.2 v
revision            0

description         Bit is a modern Git CLI

long_description    Bit is an experimental modernized git CLI built on top of \
                    git that provides happy defaults and other niceties: \
                    command and flag suggestions to help you navigate the \
                    plethora of options git provides you, autocompletion for \
                    files and branch names when using bit add or bit \
                    checkout, automatic fetch and branch fast-forwarding \
                    reducing the likelihood of merge conflicts, suggestions \
                    work with git aliases, new commands like bit sync that \
                    vastly simplify your workflow, commands from git-extras \
                    such as bit release & bit info fully compatible with git \
                    allowing you to fallback to git if need be.

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

categories          devel
license             Apache-2
installs_libs       no

# Allow fetching deps at build time
go.offline_build no
build.pre_args      -ldflags \"-X main.version=v${version}\"

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

notes "To install shell completion for ${name}, run: ${name} complete"

checksums           rmd160  dd03423c9808bc0600ad22711960078d0a25f2d7 \
                    sha256  563ae6b0fa279cb8ea8f66b4b455c7cb74a9e65a0edbe694505b2c8fc719b2ff \
                    size    157191
