# -*- 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.11 v
go.offline_build    no
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  48ed8033070dd22cc92994fc1fcb43a3367cc2ce \
                    sha256  64443325947701ab902611663b9ddf5c43c1dec2223e59941ba7ad8c15ea2a86 \
                    size    136992

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

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