git: ff37dcbbaf1a - main - devel/dmake: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 28 Jan 2024 18:33:33 UTC
The branch main has been updated by bofh:

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

commit ff37dcbbaf1a62d3406b52bc91579433928ca004
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-28 17:40:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-28 18:33:08 +0000

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

diff --git a/devel/dmake/Makefile b/devel/dmake/Makefile
index 4a5e607852b1..b77a72188fa8 100644
--- a/devel/dmake/Makefile
+++ b/devel/dmake/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dmake
 PORTVERSION=	4.13.1
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 PORTEPOCH=	1
 CATEGORIES=	devel
@@ -17,11 +18,12 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	jimjag
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS+=	--datarootdir=${DATADIR}
 
 CONFLICTS_INSTALL=	sunpromake
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/man/dmake.tf ${STAGEDIR}${PREFIX}/man/man1/dmake.1
+	${INSTALL_MAN} ${WRKSRC}/man/dmake.tf ${STAGEDIR}${PREFIX}/share/man/man1/dmake.1
 
 .include <bsd.port.mk>
diff --git a/devel/dmake/pkg-plist b/devel/dmake/pkg-plist
index aff330c4bccc..98202a0dccdd 100644
--- a/devel/dmake/pkg-plist
+++ b/devel/dmake/pkg-plist
@@ -1,5 +1,5 @@
 bin/dmake
-man/man1/dmake.1.gz
+share/man/man1/dmake.1.gz
 %%DATADIR%%/startup/config.mk
 %%DATADIR%%/startup/startup.mk
 %%DATADIR%%/startup/unix/linux/macros.mk