From 36e709eca4110f8aa4062710f3ff60b760de9161 Mon Sep 17 00:00:00 2001 From: Nuno Teixeira Date: Wed, 20 Mar 2024 18:15:50 +0000 Subject: [PATCH] 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