# -*- 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 muniversal 1.0 name uncrustify version 0.82.0 categories devel maintainers nomaintainer license GPL-2 description Source code beautifier long_description Banish crusty code with the Uncrustify \ C/C++/C#/D/Java/Pawn source code beautifier. It indents, \ adds newlines, aligns etc., and is highly configurable. homepage https://uncrustify.sourceforge.net master_sites sourceforge:project/uncrustify/uncrustify-${version} checksums rmd160 ac2319237f3d8d61731ce4b4eac61d3d3498d964 \ sha256 3bb56ebdb16397d6c9dc6b5be8ed6e16ee158399019485d1c8fc4980f864a8bb \ size 1852529 worksrcdir ${name}-${name}-${version} set py_ver 3.13 set py_ver_nodot [string map {. {}} ${py_ver}] depends_build-append \ port:python${py_ver_nodot} compiler.cxx_standard 2011 configure.python ${prefix}/bin/python${py_ver} configure.args -DPYTHON_EXECUTABLE=${configure.python} post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} copy ${worksrcpath}/documentation ${destroot}${docdir} } livecheck.type regex livecheck.url https://sourceforge.net/projects/uncrustify/files/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"