# -*- 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

revision            0

go.setup            github.com/thatmattlove/oui 0.1.8 v

homepage            https://github.com/thatmattlove/oui

categories          net

description         MAC Address CLI Toolkit

long_description    Look up MAC Address vendors and convert MAC Addresses \
                    to other formats — offline and at the console.

maintainers         {stunninglyclear.com:matt @thatmattlove} openmaintainer

license             BSD

depends_build-append \
                    port:goreleaser

fetch.type          git

build.env-delete    GO111MODULE=off GOPROXY=off
build.cmd           goreleaser
build.pre_args      build
build.args          --single-target

github.livecheck.regex  {([0-9.]+)}

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/dist/${name}_${goos}_${goarch}/${name} \
        ${destroot}${prefix}/bin/
}
