# -*- 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 app 1.0 PortGroup meson 1.0 PortGroup legacysupport 1.1 github.setup lite-xl lite-xl 2.1.4 v github.tarball_from archive revision 0 maintainers {harens @harens} openmaintainer categories editors lua description A lightweight text editor written in Lua long_description {*}${description}, adapted from lite. It aims to provide \ something practical, pretty, small and fast. Easy to modify and \ extend, or to use without doing either. license MIT homepage https://${name}.com/ checksums rmd160 e14e5d3bc2ca6da959c190e081086add5014d4fd \ sha256 611ab123a131bae990dc2103072a9c102171403b77e30169f557d3516f502cf6 \ size 553567 app.name Lite XL app.icon resources/icons/${name}.svg app.retina yes # clock_gettime required by reproc dependency legacysupport.newest_darwin_requires_legacy 15 # Do not download any subprojects meson.wrap_mode nodownload configure.args-append \ --buildtype=release \ -Duse_system_lua=true # Current implementation of fsevents is supported on 10.7+. # For now, use dummy backend on earlier systems. # See discussion: https://github.com/lite-xl/lite-xl/issues/1753 if {${os.platform} eq "darwin" && ${os.major} < 11} { configure.args-append \ -Ddirmonitor_backend=dummy } # See https://github.com/macports/macports-ports/commit/5f87a7089d78f08e0674db5de0a27c1b4ea528e4 compiler.cxx_standard 2003 configure.cxxflags-append -std=c++03 compiler.c_standard 2011 depends_build-append \ path:bin/cmake:cmake \ port:pkgconfig depends_lib-append port:antigraingeometry \ port:freetype \ port:libsdl2 \ port:lua54 \ port:pcre2 \ port:reproc