git: 08a491cd7415 - main - textproc/loook: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 16:45:43 UTC
The branch main has been updated by dinoex:

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

commit 08a491cd74155bce0b0fe69428b9e4ab0021db82
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 16:45:35 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 16:45:35 +0000

    textproc/loook: use ${PREFIX}/share/man
---
 textproc/loook/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/textproc/loook/Makefile b/textproc/loook/Makefile
index 83cbf10889e4..3e14f0584743 100644
--- a/textproc/loook/Makefile
+++ b/textproc/loook/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	loook
 PORTVERSION=	0.9.0
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://mechtilde.de/Loook/Downloads/
 DIST_SUBDIR=	python
@@ -16,8 +17,6 @@ USES=		python gettext-tools:build
 
 WRKSRC=		${WRKDIR}
 PLIST_FILES=	bin/${PORTNAME} \
-		man/man1/loook.1.gz \
-		man/de/man1/loook.1.gz \
 		share/applications/loook.desktop \
 		share/locale/cs/LC_MESSAGES/loook.mo \
 		share/locale/de/LC_MESSAGES/loook.mo \
@@ -26,6 +25,8 @@ PLIST_FILES=	bin/${PORTNAME} \
 		share/locale/fr/LC_MESSAGES/loook.mo \
 		share/locale/it/LC_MESSAGES/loook.mo \
 		share/locale/nl/LC_MESSAGES/loook.mo \
+		share/man/man1/loook.1.gz \
+		share/man/de/man1/loook.1.gz \
 		share/pixmaps/loook.png \
 
 LCMESSAGES=	cs de en es fr it nl
@@ -43,11 +44,11 @@ do-build:
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py \
 		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	-${MKDIR} ${STAGEDIR}${PREFIX}/man/de/man1
+	-${MKDIR} ${STAGEDIR}${PREFIX}/share/man/de/man1
 	${INSTALL_MAN} ${WRKSRC}/man/loook.1 \
-		${STAGEDIR}${PREFIX}/man/man1/
+		${STAGEDIR}${PREFIX}/share/man/man1/
 	${INSTALL_MAN} ${WRKSRC}/man/de/loook.1 \
-		${STAGEDIR}${PREFIX}/man/de/man1/
+		${STAGEDIR}${PREFIX}/share/man/de/man1/
 	${INSTALL_DATA} ${WRKSRC}/loook.desktop \
 		${STAGEDIR}${PREFIX}/share/applications/
 	${INSTALL_DATA} ${WRKSRC}/loook.png \