# -*- 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/evilmartians/lefthook 1.11.1 v
go.offline_build    no
github.tarball_from archive
revision            0

homepage            https://lefthook.dev/

description         Fast and powerful Git hooks manager for any type of \
                    projects.

long_description    A Git hooks manager for Node.js, Ruby, Python and many \
                    other types of projects. It is written in Go, can run \
                    commands in parallel, and allows to control execution and \
                    files you pass to your commands. It is also a single \
                    dependency-free binary which can work in any environment.

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

checksums           rmd160  b4048afa2a119414dfd3cffbd9cc306269b677ed \
                    sha256  59527d3ffcf75c836efedf52657aa2a76c3b0b0db87a89d6db801f87819873c8 \
                    size    134633

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

    xinstall -d ${destroot}${prefix}/share/${name}
    copy ${worksrcpath}/docs ${destroot}${prefix}/share/${name}/
}
