git: e181bb27207c - main - x11-themes/catppuccin-gtk-theme: add port: GTK theme with Catppuccin colour scheme

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sun, 31 Aug 2025 08:13:48 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e181bb27207c31bf358533ea37a66057f18f87e0

commit e181bb27207c31bf358533ea37a66057f18f87e0
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-08-31 08:12:06 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-08-31 08:13:40 +0000

    x11-themes/catppuccin-gtk-theme: add port: GTK theme with Catppuccin colour scheme
    
    A GTK theme based on the colours of Catppuccin community.
    
    The theme is more focused on the Gnome Desktop, but supports Cinnamon,
    XFCE, Mate, etc. with generic styles. It's great to combine in your
    TWMs like: XmonadWM, AwesomeWM, BSPWM, etc...
    
    WWW: https://github.com/Fausto-Korpsvart/Catppuccin-GTK-Theme
---
 x11-themes/Makefile                       |  1 +
 x11-themes/catppuccin-gtk-theme/Makefile  | 61 +++++++++++++++++++++++++++++++
 x11-themes/catppuccin-gtk-theme/distinfo  |  3 ++
 x11-themes/catppuccin-gtk-theme/pkg-descr |  5 +++
 4 files changed, 70 insertions(+)

diff --git a/x11-themes/Makefile b/x11-themes/Makefile
index e82a1c98d006..b9801c517411 100644
--- a/x11-themes/Makefile
+++ b/x11-themes/Makefile
@@ -13,6 +13,7 @@
     SUBDIR += budgie-backgrounds
     SUBDIR += canta-gtk-themes
     SUBDIR += canta-icon-theme
+    SUBDIR += catppuccin-gtk-theme
     SUBDIR += chicago95
     SUBDIR += classiclooks
     SUBDIR += claws-mail-themes
diff --git a/x11-themes/catppuccin-gtk-theme/Makefile b/x11-themes/catppuccin-gtk-theme/Makefile
new file mode 100644
index 000000000000..cd8cd1dd56b4
--- /dev/null
+++ b/x11-themes/catppuccin-gtk-theme/Makefile
@@ -0,0 +1,61 @@
+PORTNAME=	catppuccin-gtk-theme
+DISTVERSION=	g20250828
+CATEGORIES=	x11-themes
+
+MAINTAINER=	tagattie@FreeBSD.org
+COMMENT=	GTK theme with Catppuccin colour scheme
+WWW=		https://github.com/Fausto-Korpsvart/Catppuccin-GTK-Theme
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	bash:shells/bash \
+		gsed:textproc/gsed \
+		sassc:textproc/sassc \
+		gnome-shell:x11/gnome-shell
+RUN_DEPENDS=	gnome-themes-extra>0:x11-themes/gnome-themes-extra \
+		gtk-murrine-engine>0:x11-themes/gtk-murrine-engine
+
+USES=		shebangfix
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Fausto-Korpsvart
+GH_PROJECT=	Catppuccin-GTK-Theme
+GH_TAGNAME=	7b94b62bdc15596c0fc0ae1a711d0f733575c64f
+
+SHEBANG_FILES=	themes/build.sh \
+		themes/install.sh
+
+BINARY_ALIAS=	sed=gsed
+NO_ARCH=	yes
+
+BUILD_WRKSRC=	${WRKSRC}/themes
+
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+INSTALL_FLAGS=	--dest ${STAGEDIR}${PREFIX}/share/themes \
+		--theme all \
+		--color light dark \
+		--size standard compact
+
+do-build:
+	cd ${BUILD_WRKSRC} && \
+	${SETENV} ${MAKE_ENV} ./build.sh
+
+do-install:
+	cd ${BUILD_WRKSRC} && \
+	${SETENV} ${MAKE_ENV} ./install.sh ${INSTALL_FLAGS}
+.for colorscheme in frappe macchiato
+	cd ${BUILD_WRKSRC} && \
+	${SETENV} ${MAKE_ENV} ./install.sh ${INSTALL_FLAGS} --tweaks ${colorscheme}
+.endfor
+	@cd ${STAGEDIR}${PREFIX} && \
+		${FIND} share/themes -type f -o -type l >> ${TMPPLIST}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-themes/catppuccin-gtk-theme/distinfo b/x11-themes/catppuccin-gtk-theme/distinfo
new file mode 100644
index 000000000000..4b16f24ad0fa
--- /dev/null
+++ b/x11-themes/catppuccin-gtk-theme/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756522476
+SHA256 (Fausto-Korpsvart-Catppuccin-GTK-Theme-g20250828-7b94b62bdc15596c0fc0ae1a711d0f733575c64f_GH0.tar.gz) = 8a1fb702f9bda054b822a0b83d79ea4852a390887d5457e51f8543de88fdff1c
+SIZE (Fausto-Korpsvart-Catppuccin-GTK-Theme-g20250828-7b94b62bdc15596c0fc0ae1a711d0f733575c64f_GH0.tar.gz) = 76865848
diff --git a/x11-themes/catppuccin-gtk-theme/pkg-descr b/x11-themes/catppuccin-gtk-theme/pkg-descr
new file mode 100644
index 000000000000..f08841aa9bcc
--- /dev/null
+++ b/x11-themes/catppuccin-gtk-theme/pkg-descr
@@ -0,0 +1,5 @@
+A GTK theme based on the colours of Catppuccin community.
+
+The theme is more focused on the Gnome Desktop, but supports Cinnamon,
+XFCE, Mate, etc. with generic styles. It's great to combine in your
+TWMs like: XmonadWM, AwesomeWM, BSPWM, etc...