# -*- 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 2.0.4 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  f51f174104614a7675a6b66333a39d69c67c413a \
                    sha256  5d152b84e6a1aecd1d3173865a69f0466d1c166c3978ce6e679293194973b845 \
                    size    153660

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

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