# -*- 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 cmake 1.1 PortGroup gitea 1.0 PortGroup compiler_blacklist_versions 1.0 gitea.domain git.skyjake.fi gitea.setup gemini lagrange 1.18.3 v revision 0 categories net gemini license BSD maintainers {@sikmir disroot.org:sikmir} openmaintainer description A Beautiful Gemini Client long_description {*}${description} checksums rmd160 ca2c96d3ad9b78b0b99380c0e2c6ae439211db1f \ sha256 0b476be2bf8dd577cd88082e7ad1cbfde195e083f53a59093d2a6cfc27436bbe \ size 7798444 worksrcdir ${name} depends_build-append \ port:pkgconfig \ port:zip depends_lib-append port:the_Foundation \ port:fribidi \ path:lib/pkgconfig/harfbuzz.pc:harfbuzz \ port:libsdl2 \ port:mpg123 \ port:opusfile \ port:webp destroot { copy ${build.dir}/Lagrange.app ${destroot}${applications_dir} } variant tui description {Build the TUI interface} { configure.args-append \ -DENABLE_TUI=YES depends_lib-append \ port:ncurses \ port:sealcurses post-destroot { copy ${build.dir}/clagrange ${destroot}${prefix}/bin file mkdir ${destroot}${prefix}/share/lagrange copy ${build.dir}/Lagrange.app/Contents/Resources/resources.lgr ${destroot}${prefix}/share/lagrange } } compiler.c_standard 2011 compiler.blacklist-append {clang < 800}