Here's an update of uncrustify to a newer release. This port seems to work fine with python3 too.
Tested on amd64 where all regress tests pass. ok? Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/uncrustify/Makefile,v retrieving revision 1.26 diff -u -p -u -r1.26 Makefile --- Makefile 23 Feb 2021 19:39:46 -0000 1.26 +++ Makefile 7 Mar 2021 20:33:15 -0000 @@ -2,7 +2,7 @@ COMMENT = source code beautifier -DISTNAME = uncrustify-0.71.0 +DISTNAME = uncrustify-0.72.0 CATEGORIES = textproc devel @@ -21,7 +21,6 @@ COMPILER = base-clang ports-gcc MODULES = devel/cmake \ lang/python -MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2} MODPY_RUNDEP = No Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/uncrustify/distinfo,v retrieving revision 1.14 diff -u -p -u -r1.14 distinfo --- distinfo 21 Jun 2020 07:17:08 -0000 1.14 +++ distinfo 7 Mar 2021 20:33:15 -0000 @@ -1,2 +1,2 @@ -SHA256 (uncrustify-0.71.0.tar.gz) = G3Zd/TbJhbtB6NLajSJq6Ldpvnn7Lh4sYKeLm64jqMM= -SIZE (uncrustify-0.71.0.tar.gz) = 1703222 +SHA256 (uncrustify-0.72.0.tar.gz) = 7vifR4WGANE9MYwNPW2FUHXtuk5PG6pvBzPub5UNY9M= +SIZE (uncrustify-0.72.0.tar.gz) = 1529996 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/textproc/uncrustify/pkg/PLIST,v retrieving revision 1.5 diff -u -p -u -r1.5 PLIST --- pkg/PLIST 21 Jun 2020 07:17:08 -0000 1.5 +++ pkg/PLIST 7 Mar 2021 20:33:15 -0000 @@ -2,6 +2,12 @@ @bin bin/uncrustify @man man/man1/uncrustify.1 share/doc/uncrustify/ +share/doc/uncrustify/AUTHORS +share/doc/uncrustify/BUGS +share/doc/uncrustify/COPYING +share/doc/uncrustify/ChangeLog +share/doc/uncrustify/HELP +share/doc/uncrustify/README.md share/doc/uncrustify/examples/ share/doc/uncrustify/examples/MS-calling_conventions.cfg share/doc/uncrustify/examples/amxmodx.cfg