git: 56e96750419c - main - security/idea: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:43:46 UTC
The branch main has been updated by ehaupt:

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

commit 56e96750419cbae8ad13016a42f800325d4f5ccc
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 17:06:24 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:26 +0000

    security/idea: Move manpages to share/man
---
 security/idea/Makefile  | 5 +++--
 security/idea/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/security/idea/Makefile b/security/idea/Makefile
index b8a69f4bb13a..1b00c8c59758 100644
--- a/security/idea/Makefile
+++ b/security/idea/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	idea
 PORTVERSION=	1.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://www.de-moliner.ch/richard/downloads/ \
 		LOCAL/ehaupt
@@ -22,7 +22,8 @@ do-build:
 		-o ${WRKSRC}/${PORTNAME}
 
 do-install:
-	${INSTALL_MAN} ${WRKSRC}/manl/idea.l ${STAGEDIR}${PREFIX}/man/manl
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/man/manl
+	${INSTALL_MAN} ${WRKSRC}/manl/idea.l ${STAGEDIR}${PREFIX}/share/man/manl
 	${INSTALL_PROGRAM} -m 0555 ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/Examples ${STAGEDIR}${EXAMPLESDIR}
diff --git a/security/idea/pkg-plist b/security/idea/pkg-plist
index 0078d87b9daa..a1670434647c 100644
--- a/security/idea/pkg-plist
+++ b/security/idea/pkg-plist
@@ -1,5 +1,5 @@
 bin/idea
-man/manl/idea.l.gz
+share/man/manl/idea.l.gz
 %%PORTDOCS%%%%DOCSDIR%%/idea_cmd.txt
 %%PORTDOCS%%%%DOCSDIR%%/byte_ord.ps
 %%EXAMPLESDIR%%/Examples