git: b065101d24fc - main - emulators/hercules: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 17:58:55 UTC
The branch main has been updated by bofh:

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

commit b065101d24fc05c1e8e319fc980894f02d8b08b3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 17:12:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 17:58:27 +0000

    emulators/hercules: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 emulators/hercules/Makefile  | 2 ++
 emulators/hercules/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile
index 8a2a0f2c6086..44374f04ad7f 100644
--- a/emulators/hercules/Makefile
+++ b/emulators/hercules/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hercules
 PORTVERSION=	3.13
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	http://downloads.hercules-390.eu/
 
@@ -17,6 +18,7 @@ USES=		iconv libtool:keepla perl5 shebangfix
 SHEBANG_FILES=	util/bldlvlck
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-optimization
 INSTALL_TARGET=	install-strip
 
diff --git a/emulators/hercules/pkg-plist b/emulators/hercules/pkg-plist
index 794b17ea991f..44b625adbfdd 100644
--- a/emulators/hercules/pkg-plist
+++ b/emulators/hercules/pkg-plist
@@ -72,10 +72,10 @@ lib/libhercu.la
 lib/libhercu.so
 lib/libsoftfloat.la
 lib/libsoftfloat.so
-man/man1/cckddiag.1.gz
-man/man1/dasdseq.1.gz
-man/man1/hercules.1.gz
-man/man4/cckd.4.gz
+share/man/man1/cckddiag.1.gz
+share/man/man1/dasdseq.1.gz
+share/man/man1/hercules.1.gz
+share/man/man4/cckd.4.gz
 %%PORTDOCS%%%%DOCSDIR%%/cckddasd.html
 %%PORTDOCS%%%%DOCSDIR%%/fishgui.html
 %%PORTDOCS%%%%DOCSDIR%%/hercconf.html