git: 8a7c52242363 - main - games/tuxpaint-config: Update to 0.0.19

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

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

commit 8a7c522423635a926938682d196e5e17e89c6187
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-06-22 05:27:10 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-06-22 05:27:10 +0000

    games/tuxpaint-config: Update to 0.0.19
---
 games/tuxpaint-config/Makefile             |   8 +-
 games/tuxpaint-config/distinfo             |   5 +-
 games/tuxpaint-config/files/patch-Makefile | 126 -----------------------------
 games/tuxpaint-config/pkg-plist            |   4 +
 4 files changed, 11 insertions(+), 132 deletions(-)

diff --git a/games/tuxpaint-config/Makefile b/games/tuxpaint-config/Makefile
index 21a6c93d02b4..4581f6e1f17b 100644
--- a/games/tuxpaint-config/Makefile
+++ b/games/tuxpaint-config/Makefile
@@ -1,8 +1,7 @@
 # Created by: Alejandro Pulver <alejandro@varnet.biz>
 
 PORTNAME=	tuxpaint-config
-PORTVERSION=	0.0.13
-PORTREVISION=	1
+PORTVERSION=	0.0.19
 CATEGORIES=	games
 MASTER_SITES=	SF/tuxpaint/${PORTNAME}/${PORTVERSION}
 
@@ -13,10 +12,11 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/docs/COPYING.txt
 
 LIB_DEPENDS=	libpaper.so:print/libpaper \
-		libfltk.so:x11-toolkits/fltk
+		libfltk.so:x11-toolkits/fltk \
+		libunibreak.so:textproc/libunibreak
 RUN_DEPENDS=	tuxpaint:games/tuxpaint
 
-USES=		gettext gmake
+USES=		gettext gmake pkgconfig
 MAKE_ARGS=	PREFIX="${PREFIX}" \
 		MAN_PREFIX="${MANPREFIX}/man" \
 		GNOME_PREFIX="${PREFIX}" \
diff --git a/games/tuxpaint-config/distinfo b/games/tuxpaint-config/distinfo
index c270384d4395..4196788b71a6 100644
--- a/games/tuxpaint-config/distinfo
+++ b/games/tuxpaint-config/distinfo
@@ -1,2 +1,3 @@
-SHA256 (tuxpaint-config-0.0.13.tar.gz) = db38058f1e1cc60b15bcaf565118fe41dc9be20435e1b787c607f95d0dd122fc
-SIZE (tuxpaint-config-0.0.13.tar.gz) = 451667
+TIMESTAMP = 1655862144
+SHA256 (tuxpaint-config-0.0.19.tar.gz) = 2ba2039ee6700fe7193c74342d07cc271ce307a15f8d4816406e2e75206ae11b
+SIZE (tuxpaint-config-0.0.19.tar.gz) = 1373192
diff --git a/games/tuxpaint-config/files/patch-Makefile b/games/tuxpaint-config/files/patch-Makefile
deleted file mode 100644
index 877471f4a98f..000000000000
--- a/games/tuxpaint-config/files/patch-Makefile
+++ /dev/null
@@ -1,126 +0,0 @@
---- Makefile.orig	2009-05-29 07:08:08.000000000 +0900
-+++ Makefile	2010-10-19 01:39:29.000000000 +0900
-@@ -203,12 +203,10 @@
- 	@echo
- 	@echo "...Installing launcher icon into GNOME..."
- 	@if [ "x$(GNOME_PREFIX)" != "x" ]; then \
--  	  install -d $(GNOME_PREFIX)/share/pixmaps; \
--	  cp data/images/icon.png $(GNOME_PREFIX)/share/pixmaps/tuxpaint-config.png; \
--	  chmod 644 $(GNOME_PREFIX)/share/pixmaps/tuxpaint-config.png; \
--	  install -d $(GNOME_PREFIX)/share/applications; \
--	  cp src/tuxpaint-config.desktop $(GNOME_PREFIX)/share/applications/; \
--	  chmod 644 $(GNOME_PREFIX)/share/applications/tuxpaint-config.desktop; \
-+  	  install -d $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps; \
-+	  $(BSD_INSTALL_DATA) data/images/icon.png $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps/tuxpaint-config.png; \
-+	  install -d $(DESTDIR)$(GNOME_PREFIX)/share/applications; \
-+	  $(BSD_INSTALL_DATA) src/tuxpaint-config.desktop $(DESTDIR)$(GNOME_PREFIX)/share/applications/; \
- 	fi
- 
- 
-@@ -218,9 +216,8 @@
- 	@echo
- 	@echo "...Installing launcher icon into KDE..."
- 	@if [ "x$(KDE_PREFIX)" != "x" ]; then \
--	  install -d $(KDE_PREFIX)/Preferences/; \
--	  cp src/tuxpaint-config.desktop $(KDE_PREFIX)/Preferences/; \
--	  chmod 644 $(KDE_PREFIX)/Preferences/tuxpaint-config.desktop; \
-+	  install -d $(DESTDIR)$(KDE_PREFIX)/Preferences/; \
-+	  $(BSD_INSTALL_DATA) src/tuxpaint-config.desktop $(DESTDIR)$(KDE_PREFIX)/Preferences/; \
- 	fi
- 
- 
-@@ -242,12 +239,10 @@
- install-icon:
- 	@echo
- 	@echo "...Installing launcher icon graphics..."
--	@install -d $(ICON_PREFIX)
--	@cp data/images/icon.png $(ICON_PREFIX)tuxpaint-config.png
--	@chmod 644 $(ICON_PREFIX)tuxpaint-config.png
--	@install -d $(X11_ICON_PREFIX)
--	@cp data/images/icon32x32.xpm $(X11_ICON_PREFIX)tuxpaint-config.xpm
--	@chmod 644 $(X11_ICON_PREFIX)tuxpaint-config.xpm
-+	@install -d $(DESTDIR)$(ICON_PREFIX)
-+	$(BSD_INSTALL_DATA) data/images/icon.png $(DESTDIR)$(ICON_PREFIX)tuxpaint-config.png
-+	@install -d $(DESTDIR)$(X11_ICON_PREFIX)
-+	$(BSD_INSTALL_DATA) data/images/icon32x32.xpm $(DESTDIR)$(X11_ICON_PREFIX)tuxpaint-config.xpm
- 
- 
- # Install the program:
-@@ -255,8 +250,7 @@
- install-bin:
- 	@echo
- 	@echo "...Installing program itself..."
--	@cp tuxpaint-config $(BIN_PREFIX)
--	@chmod a+rx,g-w,o-w $(BIN_PREFIX)/tuxpaint-config$(EXE_EXT)
-+	$(BSD_INSTALL_PROGRAM) tuxpaint-config $(DESTDIR)$(BIN_PREFIX)
- 
- 
- # Install the data (sound, graphics, fonts):
-@@ -264,9 +258,9 @@
- install-data:
- 	@echo
- 	@echo "...Installing data files..."
--	@install -d $(DATA_PREFIX)
--	@cp -R data/* $(DATA_PREFIX)
--	@chmod -R a+rX,g-w,o-w $(DATA_PREFIX)
-+	@install -d $(DESTDIR)$(DATA_PREFIX)
-+	@install -d $(DESTDIR)$(DATA_PREFIX)/images
-+	$(BSD_INSTALL_DATA) data/images/* $(DESTDIR)$(DATA_PREFIX)/images
- 
- 
- # Install the text documentation:
-@@ -275,16 +269,14 @@
- 	@echo
- 	@echo "...Installing documentation..."
- 	@echo "(English)"
--	@install -d $(DOC_PREFIX)
--	@install -d $(DOC_PREFIX)/html
--	@cp docs/AUTHORS.txt $(DOC_PREFIX)
--	@cp docs/CHANGES.txt $(DOC_PREFIX)
--	@cp docs/COPYING.txt $(DOC_PREFIX)
--	@cp docs/README.txt $(DOC_PREFIX)
--	@cp docs/html/README.html $(DOC_PREFIX)/html
--	@cp docs/TODO.txt $(DOC_PREFIX)
--	@echo "(...Setting permissions)"
--	@chmod -R a+rx,g-w,o-w $(DOC_PREFIX)
-+	@install -d $(DESTDIR)$(DOC_PREFIX)
-+	@install -d $(DESTDIR)$(DOC_PREFIX)/html
-+	$(BSD_INSTALL_DATA) docs/AUTHORS.txt $(DESTDIR)$(DOC_PREFIX)
-+	$(BSD_INSTALL_DATA) docs/CHANGES.txt $(DESTDIR)$(DOC_PREFIX)
-+	$(BSD_INSTALL_DATA) docs/COPYING.txt $(DESTDIR)$(DOC_PREFIX)
-+	$(BSD_INSTALL_DATA) docs/README.txt $(DESTDIR)$(DOC_PREFIX)
-+	$(BSD_INSTALL_DATA) docs/html/README.html $(DESTDIR)$(DOC_PREFIX)/html
-+	$(BSD_INSTALL_DATA) docs/TODO.txt $(DESTDIR)$(DOC_PREFIX)
- 
- 
- # Install the man page:
-@@ -292,11 +284,10 @@
- install-man:
- 	@echo "...Installing man pages..."
- 	# man1 directory...
--	@install -d $(MAN_PREFIX)/man1/
-+	@install -d $(DESTDIR)$(MAN_PREFIX)/man1/
- 	# tuxpaint-config.1
--	@cp src/tuxpaint-config.1 $(MAN_PREFIX)/man1/
--	@gzip -9f $(MAN_PREFIX)/man1/tuxpaint-config.1
--	@chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tuxpaint-config.1.gz
-+	$(BSD_INSTALL_MAN) src/tuxpaint-config.1 $(DESTDIR)$(MAN_PREFIX)/man1/
-+	@gzip -9f $(DESTDIR)$(MAN_PREFIX)/man1/tuxpaint-config.1
- 
- 
- # Build the program!
-@@ -337,10 +328,11 @@
- 
- POFILES:=$(wildcard src/po/*.po)
- MOFILES:=$(patsubst src/po/%.po,trans/%.mo,$(POFILES))
--INSTALLED_MOFILES:=$(patsubst trans/%.mo,$(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint-config.mo,$(MOFILES))
-+INSTALLED_MOFILES:=$(patsubst trans/%.mo,$(DESTDIR)$(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint-config.mo,$(MOFILES))
- 
--$(INSTALLED_MOFILES): $(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint-config.mo: trans/%.mo
--	install -D -m 644 $< $@
-+$(INSTALLED_MOFILES): $(DESTDIR)$(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint-config.mo: trans/%.mo
-+	test -d `dirname $@` || mkdir -p `dirname $@`
-+	$(BSD_INSTALL_DATA) $< $@
- 
- .PHONY: uninstall-i18n
- uninstall-i18n:
diff --git a/games/tuxpaint-config/pkg-plist b/games/tuxpaint-config/pkg-plist
index fe3c17adb80d..5f38739733fa 100644
--- a/games/tuxpaint-config/pkg-plist
+++ b/games/tuxpaint-config/pkg-plist
@@ -26,13 +26,16 @@ share/locale/ff/LC_MESSAGES/tuxpaint-config.mo
 share/locale/fi/LC_MESSAGES/tuxpaint-config.mo
 share/locale/fr/LC_MESSAGES/tuxpaint-config.mo
 share/locale/gd/LC_MESSAGES/tuxpaint-config.mo
+share/locale/gl/LC_MESSAGES/tuxpaint-config.mo
 share/locale/hi/LC_MESSAGES/tuxpaint-config.mo
 share/locale/hy/LC_MESSAGES/tuxpaint-config.mo
 share/locale/id/LC_MESSAGES/tuxpaint-config.mo
+share/locale/is/LC_MESSAGES/tuxpaint-config.mo
 share/locale/it/LC_MESSAGES/tuxpaint-config.mo
 share/locale/iu/LC_MESSAGES/tuxpaint-config.mo
 share/locale/ja/LC_MESSAGES/tuxpaint-config.mo
 share/locale/ka/LC_MESSAGES/tuxpaint-config.mo
+share/locale/kab/LC_MESSAGES/tuxpaint-config.mo
 share/locale/lv/LC_MESSAGES/tuxpaint-config.mo
 share/locale/mn/LC_MESSAGES/tuxpaint-config.mo
 share/locale/ms/LC_MESSAGES/tuxpaint-config.mo
@@ -47,6 +50,7 @@ share/locale/sat/LC_MESSAGES/tuxpaint-config.mo
 share/locale/sk/LC_MESSAGES/tuxpaint-config.mo
 share/locale/sl/LC_MESSAGES/tuxpaint-config.mo
 share/locale/son/LC_MESSAGES/tuxpaint-config.mo
+share/locale/sq/LC_MESSAGES/tuxpaint-config.mo
 share/locale/sr/LC_MESSAGES/tuxpaint-config.mo
 share/locale/sr@latin/LC_MESSAGES/tuxpaint-config.mo
 share/locale/sv/LC_MESSAGES/tuxpaint-config.mo