git: 91c521258553 - main - games/tuxpaint: Update to 0.9.28

From: Wen Heping <wen_at_FreeBSD.org>
Date: Wed, 22 Jun 2022 07:14:26 UTC
The branch main has been updated by wen:

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

commit 91c5212585538d525a05ae33459d5f425144c9bb
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-06-22 05:26:12 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-06-22 05:26:12 +0000

    games/tuxpaint: Update to 0.9.28
---
 games/tuxpaint/Makefile | 20 +++++++++-----------
 games/tuxpaint/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile
index 4dbe5f401fb0..694c6c0aabd1 100644
--- a/games/tuxpaint/Makefile
+++ b/games/tuxpaint/Makefile
@@ -1,9 +1,10 @@
 # Created by: Alejandro Pulver <alejandro@varnet.biz>
 
 PORTNAME=	tuxpaint
-PORTVERSION=	0.9.27
+PORTVERSION=	0.9.28
 CATEGORIES=	games
 MASTER_SITES=	SF
+DISTNAME=	${PORTNAME}-${PORTVERSION}-sdl2
 
 MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Drawing program designed for young children
@@ -20,10 +21,13 @@ LIB_DEPENDS=	libfribidi.so:converters/fribidi \
 RUN_DEPENDS=	anytopnm:graphics/netpbm \
 		bash:shells/bash
 
-USES=		gettext gmake gnome gperf magick:7,build pkgconfig sdl shebangfix
-SHEBANG_FILES=	src/tuxpaint-import.sh
-USE_GNOME=	librsvg2
-USE_SDL=	gfx image mixer sdl ttf pango
+USES=		gettext gmake gnome gperf magick:7,build pkgconfig \
+		python:3.7+ sdl shebangfix
+SHEBANG_FILES=	src/tuxpaint-import.sh \
+		fonts/locale/zh_tw_docs/maketuxfont.py
+
+USE_GNOME=	librsvg2 cairo
+USE_SDL=	gfx2 image2 mixer2 sdl2 ttf2
 MAKE_ARGS=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib" \
 		PREFIX="${PREFIX}" \
@@ -52,12 +56,6 @@ OPTIONS_DEFINE=	DOCS
 post-extract:
 	@${RM} -r ${WRKSRC}/fonts/locale/vi_docs
 
-post-patch:
-.for file in src/tuxpaint-import.sh src/tp_magic_api.h.in src/tuxpaint.conf \
-	hildon/tuxpaint.conf
-	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${file}
-.endfor
-
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tuxpaint
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tuxpaint/plugins/*.so
diff --git a/games/tuxpaint/distinfo b/games/tuxpaint/distinfo
index 0126f9436832..c633b0260213 100644
--- a/games/tuxpaint/distinfo
+++ b/games/tuxpaint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645410657
-SHA256 (tuxpaint-0.9.27.tar.gz) = ab2b80e89df88228cd0ec0a6c90b49d543cb157aa38fb90cbd3a29f00140557a
-SIZE (tuxpaint-0.9.27.tar.gz) = 14292992
+TIMESTAMP = 1655169113
+SHA256 (tuxpaint-0.9.28-sdl2.tar.gz) = 4f1ed9330feab324070b93630d79ced50ccc4816ab76750119f012b5d904709d
+SIZE (tuxpaint-0.9.28-sdl2.tar.gz) = 15029692