# -*- 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 qt6 1.0 name qscintilla-qt6 version 2.14.1 revision 0 distname QScintilla_src-${version} categories devel license GPL-3 maintainers {reneeotten @reneeotten} openmaintainer description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control. homepage https://www.riverbankcomputing.com/software/qscintilla/ long_description QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control. \ As well as features found in standard text editing components, \ QScintilla includes features especially useful when editing and \ debugging source code. These include support for syntax styling, \ error indicators, code completion and call tips. The selection \ margin can contain markers like those used in debuggers to indicate \ breakpoints and the current line. Styling choices are more open \ than with many editors, allowing the use of proportional fonts, \ bold and italics, multiple foreground and background colours and \ multiple fonts. master_sites https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version} checksums rmd160 951d7dce8977de55830d24f3c3de29168db455d2 \ sha256 dfe13c6acc9d85dfcba76ccc8061e71a223957a6c02f3c343b30a9d43a4cdd4d \ size 3233610 compiler.cxx_standard 2011 worksrcdir ${worksrcdir}/src # fixup @rpath in the library's install_name patchfiles-append patch-src-qscintilla.pro.diff use_xcode yes configure.cmd ${prefix}/libexec/qt6/bin/qmake configure.pre_args-replace \ --prefix=${prefix} "PREFIX=${prefix}" configure.args-append \ CONFIG+=absolute_library_soname \ CONFIG+=c++11 destroot.destdir "INSTALL_ROOT=${destroot}" subport qscintilla-designer-qt6 { description Qt Designer plugin for Qt6 QScintilla long_description {*}${description} worksrcdir ${worksrcdir}/..//designer patchfiles patch-add_debug.diff qt6.depends_lib qttools if {[variant_isset debug]} { require_active_variants ${name} debug } depends_lib-append port:${name} } livecheck.type regex livecheck.url ${homepage}download livecheck.regex QScintilla/\(\[0-9.\]+\)/ChangeLog