git: eb3d95e1a9a5 - main - print/ttf2pt1: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 12:17:15 UTC
The branch main has been updated by bofh:

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

commit eb3d95e1a9a5be2751c6421ad1e59a1e6aaf3e01
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 12:15:59 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 12:15:59 +0000

    print/ttf2pt1: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 print/ttf2pt1/Makefile  | 9 +++++----
 print/ttf2pt1/pkg-plist | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/print/ttf2pt1/Makefile b/print/ttf2pt1/Makefile
index 924fb78556cd..dbd2077a6627 100644
--- a/print/ttf2pt1/Makefile
+++ b/print/ttf2pt1/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ttf2pt1
 PORTVERSION=	3.4.4
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	print
 MASTER_SITES=	SF
 
@@ -26,6 +26,7 @@ MAKE_ARGS=	CC="${CC}" \
 		INSTDIR="${STAGEDIR}${PREFIX}" \
 		LIBS="${LIBS}" \
 		LIBXDIR="${STAGEDIR}${PREFIX}/bin" \
+		MANDIR="${STAGEDIR}${PREFIX}/share/man" \
 		OWNER=${BINOWN}
 
 CPPFLAGS+=	`pkg-config --cflags freetype2` -DUSE_FREETYPE
@@ -40,9 +41,9 @@ CFLAGS+=	-Wno-error=incompatible-function-pointer-types
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ttf2pt1
 	@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/ttf2pt1_convert \
-		${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_x2gs.1 \
-		${STAGEDIR}${PREFIX}/man/man1/ttf2pt1.1 \
-		${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_convert.1 \
+		${STAGEDIR}${PREFIX}/share/man/man1/ttf2pt1_x2gs.1 \
+		${STAGEDIR}${PREFIX}/share/man/man1/ttf2pt1.1 \
+		${STAGEDIR}${PREFIX}/share/man/man1/ttf2pt1_convert.1 \
 		${STAGEDIR}${DATADIR}/scripts/convert
 
 .include <bsd.port.mk>
diff --git a/print/ttf2pt1/pkg-plist b/print/ttf2pt1/pkg-plist
index 6be66625c806..cee446c3d3db 100644
--- a/print/ttf2pt1/pkg-plist
+++ b/print/ttf2pt1/pkg-plist
@@ -88,6 +88,6 @@ bin/ttf2pt1_x2gs
 %%DATADIR%%/scripts/trans
 %%DATADIR%%/scripts/unhtml
 %%DATADIR%%/scripts/x2gs
-man/man1/ttf2pt1.1.gz
-man/man1/ttf2pt1_convert.1.gz
-man/man1/ttf2pt1_x2gs.1.gz
+share/man/man1/ttf2pt1.1.gz
+share/man/man1/ttf2pt1_convert.1.gz
+share/man/man1/ttf2pt1_x2gs.1.gz