mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
1.7 KiB
Tcl
54 lines
1.7 KiB
Tcl
# -*- 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 codeberg 1.0
|
|
|
|
codeberg.setup skyjake lagrange 1.20.8 v
|
|
revision 0
|
|
categories net gemini
|
|
license BSD
|
|
maintainers {@sikmir disroot.org:sikmir} openmaintainer
|
|
|
|
description A Beautiful Gemini Client
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 824e3681b56b359c41bd3dbf211205be5941397d \
|
|
sha256 cea13ea2e1266f23e59fbb2913448b79b7d20dbe47f9d8a8561d50a55535f7d9 \
|
|
size 9802967
|
|
|
|
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}
|