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

github.setup        ethomson git-recover 51a2a51c6943b51d52e7ba1dd87afec0f2b5bcad
github.tarball_from archive
version             20220518
revision            0

description         It\'s like undelete for your git repository.

long_description    \
    ${name} allows you to recover some files that you\'ve accidentally \
    deleted from your working directory. It helps you find files that exist \
    in the repository\'s object database - because you ran git add - but were \
    never committed.

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

checksums           rmd160  c991b979a257ff1c68cbea4b05646a201b3e9165 \
                    sha256  ebf8b56cb541d017eb49b4abc41edbc38d3db8aa04b540b91e4e0422ce68a900 \
                    size    4800

depends_run-append  path:bin/git:git

use_configure       no

build {}

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