# -*- 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/prasmussen/gdrive 2.1.1
revision            0

description         A command line utility for interacting with Google Drive
long_description    {*}${description}

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

checksums           rmd160  f2a1124ecea437493036da4740a3b669c2c13e9c \
                    sha256  9092cb356acf58f2938954784605911e146497a18681199d0c0edc65b833a672 \
                    size    151093

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

build.cmd           "${go.bin} get"
build.args          "."

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

notes "
    ${name} is no longer maintained.  Please consider the \"gdrive3\" port instead.
"
