# -*- 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/golang/mock 1.6.0 v
revision            0
name                go-mockgen

description         GoMock is a mocking framework for the Go programming \
                    language.

long_description    {*}${description}  It integrates well with Go's built-in \
                    testing package, but can be used in other contexts too.

categories          devel
license             Apache-2
installs_libs       no

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

build.pre_args      -ldflags \"-X main.version=${version}\" -o ./dist/mockgen
build.args          ./mockgen

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

destroot {
    copy ${worksrcpath}/dist/mockgen ${destroot}${prefix}/bin/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  8572fe16d94b441d09375e7f9fac0510a10f071e \
                        sha256  470174971c3a63361149a30f5b2d3a716a198afeb6cc71daa30712faa7293942 \
                        size    69251

go.vendors          golang.org/x/xerrors \
                        lock    5ec99f83aff1 \
                        rmd160  6e8267f353e153297f205e4be219236d6ae43880 \
                        sha256  9a500a49d83a09e7de6c71b215d1c14b81e315d26884530ef327c95ddf1f2d28 \
                        size    13667 \
                    golang.org/x/tools \
                        lock    v0.1.1 \
                        rmd160  861f7f72627b4449752dded9ab7c1a376435e841 \
                        sha256  b26d3b51fbcbabc7ff8fd2cfdb152421753dfeb8f7e38be9041c0bddfa1b8acd \
                        size    2785629 \
                    golang.org/x/sys \
                        lock    977fb7262007 \
                        rmd160  74f33ca839fd9c6e779377720814c36bd7965159 \
                        sha256  a86d29dc9b7ceff0c69c72362e1c9423bc823836d3b5c417e49e9981eff0d8a6 \
                        size    1192496 \
                    golang.org/x/mod \
                        lock    v0.4.2 \
                        rmd160  0f3ca57198b4de4eb89b2c1a2bdb01af040d1f36 \
                        sha256  e2e4cba5719f804f2ec901b4ccdf6d3abf05521868ed54f271be7c1bf6c48549 \
                        size    104573 \
                    github.com/yuin/goldmark \
                        lock    v1.3.5 \
                        rmd160  b3b5c2723fe2e29cb852bc6c2e87507140f2b20c \
                        sha256  3f04bf86c6b871baa05fd5e61a6958f7e8939d9775a4d17962a6c4d4348f95ef \
                        size    232868
