git: e1fdda74e8ad - main - games/tuxpaint-config: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 12:26:30 UTC
The branch main has been updated by bofh:

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

commit e1fdda74e8ad773a5e6fddf80b09d1bdb049be8d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 11:10:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 12:26:15 +0000

    games/tuxpaint-config: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 games/tuxpaint-config/Makefile  | 3 ++-
 games/tuxpaint-config/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/games/tuxpaint-config/Makefile b/games/tuxpaint-config/Makefile
index ab70c0860cfb..c39931bde594 100644
--- a/games/tuxpaint-config/Makefile
+++ b/games/tuxpaint-config/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tuxpaint-config
 PORTVERSION=	0.0.21
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/tuxpaint/${PORTNAME}/${PORTVERSION}
 
@@ -17,7 +18,7 @@ RUN_DEPENDS=	tuxpaint:games/tuxpaint
 
 USES=		gettext gmake pkgconfig
 MAKE_ARGS=	PREFIX="${PREFIX}" \
-		MAN_PREFIX="${MANPREFIX}/man" \
+		MAN_PREFIX="${PREFIX}/share/man" \
 		GNOME_PREFIX="${PREFIX}" \
 		CFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
 		ARCH_LINKS="${LDFLAGS}"
diff --git a/games/tuxpaint-config/pkg-plist b/games/tuxpaint-config/pkg-plist
index 59bccfce8cda..d109b8696776 100644
--- a/games/tuxpaint-config/pkg-plist
+++ b/games/tuxpaint-config/pkg-plist
@@ -1,5 +1,5 @@
 bin/tuxpaint-config
-man/man1/tuxpaint-config.1.gz
+share/man/man1/tuxpaint-config.1.gz
 share/applications/tuxpaint-config.desktop
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS.txt
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt