git: 8722c4d222c6 - main - www/apt-cacher-ng: Moved manpages to share/man

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 14:09:14 UTC
The branch main has been updated by garga:

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

commit 8722c4d222c66018c444ff3b99ea10b5f39c5fe9
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-02-23 14:01:52 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-02-23 14:09:04 +0000

    www/apt-cacher-ng: Moved manpages to share/man
    
    Approved by:    portmgr (blanket)
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 www/apt-cacher-ng/Makefile  | 3 ++-
 www/apt-cacher-ng/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/www/apt-cacher-ng/Makefile b/www/apt-cacher-ng/Makefile
index fb916f273e0b..283fafee0fc0 100644
--- a/www/apt-cacher-ng/Makefile
+++ b/www/apt-cacher-ng/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	apt-cacher-ng
 PORTVERSION=	3.2.1
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	DEBIAN_POOL/apt-cacher-ng
 DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
@@ -19,7 +20,7 @@ CPE_VENDOR=	${PORTNAME}_project
 USE_RC_SUBR=	apt_cacher_ng
 
 CMAKE_ARGS=	-DLIBDIR:PATH=${DATADIR} \
-		-DMANDIR:PATH=${PREFIX}/man
+		-DMANDIR:PATH=${PREFIX}/share/man
 
 SUB_FILES=	backends_debian backends_freebsd backends_ubuntu \
 		freebsd_mirrors pkg-message
diff --git a/www/apt-cacher-ng/pkg-plist b/www/apt-cacher-ng/pkg-plist
index 702a12a57a90..4de56a29fb6a 100644
--- a/www/apt-cacher-ng/pkg-plist
+++ b/www/apt-cacher-ng/pkg-plist
@@ -43,7 +43,7 @@ sbin/acngtool
 %%PORTDOCS%%%%DOCSDIR%%/html/secure.html
 %%PORTDOCS%%%%DOCSDIR%%/html/troublefaq.html
 %%PORTDOCS%%%%DOCSDIR%%/html/usage.html
-man/man8/apt-cacher-ng.8.gz
-%%FUSE%%man/man8/acngfs.8.gz
+share/man/man8/apt-cacher-ng.8.gz
+%%FUSE%%share/man/man8/acngfs.8.gz
 @dir(proxy,proxy,755) /var/cache/apt-cacher-ng
 @dir(proxy,proxy,755) /var/log/apt-cacher-ng