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

github.setup        ranger ranger 1.9.4 v
revision            2

categories          sysutils
platforms           {darwin any}
supported_archs     noarch
license             GPL-3
maintainers         nomaintainer

description         ${name} is a file manager with VI key bindings.
long_description    {*}${description} It provides a minimalistic and nice curses\
                    interface with a view on the directory hierarchy. The secondary\
                    task of ranger is to psychically guess which program you want\
                    to use for opening particular files.

homepage            https://ranger.fm

checksums           rmd160  43ece83d2c609e8f5d823e6b7eaa7f436d557c5c \
                    sha256  7ad75e0d1b29087335fbb1691b05a800f777f4ec9cba84faa19355075d7f0f89 \
                    size    280165
github.tarball_from archive

post-destroot {
    ln -s "${python.prefix}/share/man/man1/${name}.1" "${destroot}${prefix}/share/man/man1/${name}.1"
}

python.default_version 314

test.run            yes
