Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/uncrustify/Makefile,v
diff -u -r1.34 Makefile
--- Makefile	8 Feb 2026 15:45:58 -0000	1.34
+++ Makefile	11 Feb 2026 13:24:23 -0000
@@ -1,21 +1,19 @@
 COMMENT =	source code beautifier
 
-V =		0.82.0
-DISTNAME =	uncrustify-$V
-WRKDIST =	${WRKDIR}/uncrustify-${DISTNAME}
+VERSION =	0.82.0
+GH_ACCOUNT =	uncrustify
+GH_PROJECT = 	uncrustify
+GH_TAGNAME =	uncrustify-${VERSION}
+DISTNAME =	uncrustify-${VERSION}
 
 CATEGORIES =	textproc devel
-
-HOMEPAGE =	https://uncrustify.sourceforge.net/
+MAINTAINER =	Sebastian Reitenbach <sebastia@openbsd.org>
 
 # GPLv2
 PERMIT_PACKAGE =	Yes
 
 WANTLIB += c m ${COMPILER_LIBCXX}
 
-SITES =		https://github.com/uncrustify/uncrustify/releases/download/uncrustify-$V/ \
-		${SITE_SOURCEFORGE:=uncrustify/}
-
 COMPILER =	base-clang ports-gcc
 
 MODULES =	devel/cmake \
@@ -24,7 +22,8 @@
 MODPY_RUNDEP =	No
 
 post-install:
-	${INSTALL_DATA_DIR} ${PREFIX}/share/uncrustify/
-	${INSTALL_DATA} ${WRKSRC}/etc/*.cfg ${PREFIX}/share/uncrustify/
+	${INSTALL_DATA_DIR} ${PREFIX}/share/examples
+	mv ${PREFIX}/share/doc/uncrustify/examples \
+		${PREFIX}/share/examples/uncrustify
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/uncrustify/distinfo,v
diff -u -r1.17 distinfo
--- distinfo	8 Feb 2026 15:45:58 -0000	1.17
+++ distinfo	11 Feb 2026 13:24:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (uncrustify-0.82.0.tar.gz) = O7VuvbFjl9bJ3Gtb6O1uFu4Vg5kBlIXRyPxJgPhkqLs=
-SIZE (uncrustify-0.82.0.tar.gz) = 1852529
+SHA256 (uncrustify-0.82.0.tar.gz) = 4F+NXuNqqhrPoDL+l1Rre+RrH0Yg58OAN/ikLiX+Z28=
+SIZE (uncrustify-0.82.0.tar.gz) = 1855272
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/uncrustify/pkg/PLIST,v
diff -u -r1.7 PLIST
--- pkg/PLIST	11 Mar 2022 20:03:34 -0000	1.7
+++ pkg/PLIST	11 Feb 2026 13:24:23 -0000
@@ -7,39 +7,21 @@
 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
-share/doc/uncrustify/examples/ben.cfg
-share/doc/uncrustify/examples/ben2.cfg
-share/doc/uncrustify/examples/d.cfg
-share/doc/uncrustify/examples/defaults.cfg
-share/doc/uncrustify/examples/freebsd.cfg
-share/doc/uncrustify/examples/gnu-indent.cfg
-share/doc/uncrustify/examples/klaus.cfg
-share/doc/uncrustify/examples/kr-indent.cfg
-share/doc/uncrustify/examples/linux-indent.cfg
-share/doc/uncrustify/examples/linux.cfg
-share/doc/uncrustify/examples/mono.cfg
-share/doc/uncrustify/examples/msvc.cfg
-share/doc/uncrustify/examples/objc.cfg
-share/doc/uncrustify/examples/sun.cfg
-share/doc/uncrustify/examples/xsupplicant.cfg
-share/uncrustify/
-share/uncrustify/MS-calling_conventions.cfg
-share/uncrustify/amxmodx.cfg
-share/uncrustify/ben.cfg
-share/uncrustify/ben2.cfg
-share/uncrustify/d.cfg
-share/uncrustify/defaults.cfg
-share/uncrustify/freebsd.cfg
-share/uncrustify/gnu-indent.cfg
-share/uncrustify/klaus.cfg
-share/uncrustify/kr-indent.cfg
-share/uncrustify/linux-indent.cfg
-share/uncrustify/linux.cfg
-share/uncrustify/mono.cfg
-share/uncrustify/msvc.cfg
-share/uncrustify/objc.cfg
-share/uncrustify/sun.cfg
-share/uncrustify/xsupplicant.cfg
+share/examples/uncrustify/
+share/examples/uncrustify/MS-calling_conventions.cfg
+share/examples/uncrustify/amxmodx.cfg
+share/examples/uncrustify/ben.cfg
+share/examples/uncrustify/ben2.cfg
+share/examples/uncrustify/d.cfg
+share/examples/uncrustify/defaults.cfg
+share/examples/uncrustify/freebsd.cfg
+share/examples/uncrustify/gnu-indent.cfg
+share/examples/uncrustify/klaus.cfg
+share/examples/uncrustify/kr-indent.cfg
+share/examples/uncrustify/linux-indent.cfg
+share/examples/uncrustify/linux.cfg
+share/examples/uncrustify/mono.cfg
+share/examples/uncrustify/msvc.cfg
+share/examples/uncrustify/objc.cfg
+share/examples/uncrustify/sun.cfg
+share/examples/uncrustify/xsupplicant.cfg
