git: eca388a88643 - main - net/vde2: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 31 Jan 2024 12:59:58 UTC
The branch main has been updated by bofh:

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

commit eca388a88643235cdbf5df8478eeb263ccd7977b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-31 12:36:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-31 12:59:04 +0000

    net/vde2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/vde2/Makefile  |  8 +++++---
 net/vde2/pkg-plist | 44 ++++++++++++++++++++++----------------------
 2 files changed, 27 insertions(+), 25 deletions(-)

diff --git a/net/vde2/Makefile b/net/vde2/Makefile
index 30650e184757..10d2eda557ef 100644
--- a/net/vde2/Makefile
+++ b/net/vde2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	vde
 PORTVERSION=	2.3.3
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net
 #MASTER_SITES=	https://github.com/virtualsquare/vde-2/archive/refs/tags/
@@ -23,6 +24,7 @@ GH_PROJECT=	${PORTNAME}-${PKGNAMESUFFIX}
 
 CONFLICTS=	vde
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 MAKE_ENV=	V=1
 MAKE_JOBS_UNSAFE=yes
@@ -42,8 +44,8 @@ post-patch:
 		${WRKSRC}/man/Makefile.am
 
 post-install:
-	${LN} -sf unixcmd.1 ${STAGEDIR}${PREFIX}/man/man1/vdecmd.1
-	${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/man/man1/vdeqemu.1
-	${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/man/man1/vdekvm.1
+	${LN} -sf unixcmd.1 ${STAGEDIR}${PREFIX}/share/man/man1/vdecmd.1
+	${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/share/man/man1/vdeqemu.1
+	${LN} -sf vdeq.1 ${STAGEDIR}${PREFIX}/share/man/man1/vdekvm.1
 
 .include <bsd.port.mk>
diff --git a/net/vde2/pkg-plist b/net/vde2/pkg-plist
index 4a8c65d3c2ee..e5990df3ce92 100644
--- a/net/vde2/pkg-plist
+++ b/net/vde2/pkg-plist
@@ -41,25 +41,25 @@ libdata/pkgconfig/vdehist.pc
 libdata/pkgconfig/vdemgmt.pc
 libdata/pkgconfig/vdeplug.pc
 libdata/pkgconfig/vdesnmp.pc
-man/man1/dpipe.1.gz
-man/man1/slirpvde.1.gz
-man/man1/unixcmd.1.gz
-man/man1/unixterm.1.gz
-man/man1/vde_autolink.1.gz
-man/man1/vde_cryptcab.1.gz
-man/man1/vde_l3.1.gz
-man/man1/vde_over_ns.1.gz
-man/man1/vde_pcapplug.1.gz
-man/man1/vde_plug.1.gz
-man/man1/vde_plug2tap.1.gz
-man/man1/vde_router.1.gz
-man/man1/vde_switch.1.gz
-man/man1/vde_vxlan.1.gz
-man/man1/vdecmd.1.gz
-man/man1/vdekvm.1.gz
-man/man1/vdeq.1.gz
-man/man1/vdeqemu.1.gz
-man/man1/vdetaplib.1.gz
-man/man1/vdeterm.1.gz
-man/man1/wirefilter.1.gz
-man/man8/vde_tunctl.8.gz
+share/man/man1/dpipe.1.gz
+share/man/man1/slirpvde.1.gz
+share/man/man1/unixcmd.1.gz
+share/man/man1/unixterm.1.gz
+share/man/man1/vde_autolink.1.gz
+share/man/man1/vde_cryptcab.1.gz
+share/man/man1/vde_l3.1.gz
+share/man/man1/vde_over_ns.1.gz
+share/man/man1/vde_pcapplug.1.gz
+share/man/man1/vde_plug.1.gz
+share/man/man1/vde_plug2tap.1.gz
+share/man/man1/vde_router.1.gz
+share/man/man1/vde_switch.1.gz
+share/man/man1/vde_vxlan.1.gz
+share/man/man1/vdecmd.1.gz
+share/man/man1/vdekvm.1.gz
+share/man/man1/vdeq.1.gz
+share/man/man1/vdeqemu.1.gz
+share/man/man1/vdetaplib.1.gz
+share/man/man1/vdeterm.1.gz
+share/man/man1/wirefilter.1.gz
+share/man/man8/vde_tunctl.8.gz