git: 53e79abbcc04 - main - java/icedtea-web: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 12:29:56 UTC
The branch main has been updated by bofh:

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

commit 53e79abbcc040504f09af18b91875044db715441
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 12:10:43 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 12:29:29 +0000

    java/icedtea-web: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 java/icedtea-web/Makefile | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
index 375deca4601d..1417fd3eb072 100644
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	icedtea-web
 PORTVERSION=	1.8.8
 DISTVERSIONPREFIX=	icedtea-web-
-PORTREVISION=	14
+PORTREVISION=	15
 CATEGORIES=	java www
 
 MAINTAINER=	java@FreeBSD.org
@@ -18,6 +18,7 @@ BUILD_DEPENDS=	zip:archivers/zip \
 RUN_DEPENDS=	bash:shells/bash
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		autoreconf compiler:c++11-lang desktop-file-utils gmake \
 		pkgconfig shebangfix xorg
 USE_JAVA=	yes
@@ -104,19 +105,11 @@ post-patch:
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/*.desktop ${STAGEDIR}${DESKTOPDIR}
 .for lang in cs de en pl
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/man/${lang:Nen}/man1
 .for man in javaws policyeditor
-	${MV} ${STAGEDIR}${PREFIX}/man/${lang:Nen}/man1/${man}.1 \
+	${MV} ${STAGEDIR}${PREFIX}/share/man/${lang:Nen}/man1/${man}.1 \
 	    ${STAGEDIR}${PREFIX}/share/man/${lang:Nen}/man1/itweb-${man}.1
 .endfor
 .endfor
-.for lang in cs de pl
-	${MV} ${STAGEDIR}${PREFIX}/man/${lang}/man1/* \
-	    ${STAGEDIR}${PREFIX}/share/man/${lang}/man1/
-	${RM} -r ${STAGEDIR}${PREFIX}/man/${lang}
-.endfor
-	${MV} ${STAGEDIR}${PREFIX}/man/man1/* \
-	    ${STAGEDIR}${PREFIX}/share/man/man1/
 	@${ECHO_MSG}
 	@${ECHO_MSG} "Run \"make test\" to execute regression test."
 	@${ECHO_MSG}