git: 25bd2c915cab - main - sysutils/vmdktool: Update manpages path

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 08 Jan 2024 16:44:56 UTC
The branch main has been updated by garga:

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

commit 25bd2c915cabb29746c978f006ed3ce8da2cb5ac
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-08 16:39:30 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-08 16:43:53 +0000

    sysutils/vmdktool: Update manpages path
    
    Move manpages to ${PREFIX}/share/man
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sysutils/vmdktool/Makefile             | 6 +++---
 sysutils/vmdktool/files/patch-Makefile | 8 ++++++++
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/sysutils/vmdktool/Makefile b/sysutils/vmdktool/Makefile
index 9abac541c7ca..5ac7b085d379 100644
--- a/sysutils/vmdktool/Makefile
+++ b/sysutils/vmdktool/Makefile
@@ -15,10 +15,10 @@ USES=		perl5
 # We need the prove utility from Perl 5.
 USE_PERL5=	test
 
-PLIST_FILES=	bin/vmdktool \
-		man/man8/vmdktool.8.gz
-
 ALL_TARGET=	vmdktool
 TEST_TARGET=	test
 
+PLIST_FILES=	bin/vmdktool \
+		share/man/man8/vmdktool.8.gz
+
 .include <bsd.port.mk>
diff --git a/sysutils/vmdktool/files/patch-Makefile b/sysutils/vmdktool/files/patch-Makefile
new file mode 100644
index 000000000000..1e6e12904d99
--- /dev/null
+++ b/sysutils/vmdktool/files/patch-Makefile
@@ -0,0 +1,8 @@
+--- Makefile.orig	2024-01-08 16:38:12 UTC
++++ Makefile
+@@ -28,4 +28,4 @@ install:
+ 
+ install:
+ 	install -s vmdktool ${DESTDIR}${PREFIX}/bin/
+-	install vmdktool.8 ${DESTDIR}${PREFIX}/man/man8/
++	install vmdktool.8 ${DESTDIR}${PREFIX}/share/man/man8/