Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2024 18:38:03 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 36e709eca411 - main - net/vtun: Move man pages to share/man
Message-ID:  <202403201838.42KIc3Wb042015@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit 36e709eca4110f8aa4062710f3ff60b760de9161
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 18:15:50 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 18:37:12 +0000

    net/vtun: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/vtun/Makefile  | 5 +++--
 net/vtun/pkg-plist | 8 ++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/net/vtun/Makefile b/net/vtun/Makefile
index 8da522752660..d27e16f9c707 100644
--- a/net/vtun/Makefile
+++ b/net/vtun/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vtun
 PORTVERSION=	3.0.4
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	net
 MASTER_SITES=	SF \
 		LOCAL/mat/vtun
@@ -16,6 +16,7 @@ LIB_DEPENDS=	liblzo2.so:archivers/lzo2
 USES=		autoreconf localbase ssl
 USE_RC_SUBR=	vtunclient vtund
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 CONFIGURE_ARGS=	--localstatedir=/var \
 		--with-lzo-headers=${LOCALBASE}/include/lzo \
@@ -47,7 +48,7 @@ post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vtund
 	${INSTALL_DATA} ${WRKSRC}/vtund.conf ${STAGEDIR}${PREFIX}/etc/vtund.conf.sample
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${RLN} ${STAGEDIR}${PREFIX}/man/man8/vtund.8 ${STAGEDIR}${PREFIX}/man/man1/vtun.1
+	${RLN} ${STAGEDIR}${PREFIX}/share/man/man8/vtund.8 ${STAGEDIR}${PREFIX}/share/man/man1/vtun.1
 
 post-install-DOCS-on:
 .for doc in ${PORTDOCS}
diff --git a/net/vtun/pkg-plist b/net/vtun/pkg-plist
index 72f0a45235b0..fcb1e58c4864 100644
--- a/net/vtun/pkg-plist
+++ b/net/vtun/pkg-plist
@@ -1,9 +1,9 @@
 @sample etc/vtund.conf.sample
 sbin/vtund
-man/man5/vtund.conf.5.gz
-man/man8/vtund.8.gz
-man/man8/vtun.8.gz
-man/man1/vtun.1.gz
+share/man/man5/vtund.conf.5.gz
+share/man/man8/vtund.8.gz
+share/man/man8/vtun.8.gz
+share/man/man1/vtun.1.gz
 @dir /var/log/vtund
 @dir /var/lock/vtund
 @dir /var/lock



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403201838.42KIc3Wb042015>