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

github.setup        NikitaIvanovV ctpv 1.1 v
github.tarball_from archive

categories          graphics
license             MIT
platforms           darwin linux
maintainers         {icloud.com:github.ssk @suhailskhan} \
                    openmaintainer
description         Image previews for lf file manager
long_description    ctpv is a file previewer utility for a terminal. It supports \
                    previews for source code, archives, PDF files, images, videos, etc.

checksums           rmd160  7cb8765dc2b37520752b1baab105f8a74a49a191 \
                    sha256  29e458fbc822e960f052b47a1550cb149c28768615cc2dddf21facc5c86f7463 \
                    size    2011358

depends_lib-append  path:lib/libcrypto.dylib:openssl \
                    port:libmagic

destroot.post_args  ${destroot.destdir} PREFIX=${prefix}

# https://trac.macports.org/ticket/70170
compiler.cxx_standard 2020
