# -*- 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        otsaloma nfoview 1.23
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1
categories          gnome
license             GPL-3+
maintainers         nomaintainer
supported_archs     noarch
platforms           {darwin any}

description         Simple viewer for NFO files
long_description    NFO Viewer is a simple viewer for NFO files, which are \
                    ASCII art in the CP437 codepage. The advantages of    \
                    using NFO Viewer instead of a text editor are preset    \
                    font and encoding settings, automatic window size and   \
                    clickable hyperlinks.

homepage            https://otsaloma.io/nfoview/

checksums           rmd160  3a31aa059ecaf905cf524dbb7799e87a35f22afe \
                    sha256  2350dffc65d1c8b9818ed9a3d57998fa49614312df4686a0a1627770bbd72f17 \
                    size    83361

python.default_version 310
python.pep517       yes

depends_build-append \
                    port:intltool

depends_lib-append  path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                    port:py${python.version}-gobject3 \
                    port:shared-mime-info \
                    port:terminus-font

depends_run         port:adwaita-icon-theme