git: 9206c5d27c56 - main - mail/dcc-dccd: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 17:34:52 UTC
The branch main has been updated by bofh:

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

commit 9206c5d27c562e35348104e717710db9a0c022d0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 17:28:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 17:34:27 +0000

    mail/dcc-dccd: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 mail/dcc-dccd/Makefile  |  3 ++-
 mail/dcc-dccd/pkg-plist | 18 +++++++++---------
 2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/mail/dcc-dccd/Makefile b/mail/dcc-dccd/Makefile
index 68a1c89ef3ff..7105141f7b56 100644
--- a/mail/dcc-dccd/Makefile
+++ b/mail/dcc-dccd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dcc-dccd
 PORTVERSION=	2.3.168
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	https://www.dcc-servers.net/dcc/source/old/
 DISTNAME=	dcc-${PORTVERSION}
@@ -30,7 +31,7 @@ CONFIGURE_ARGS=	-q \
 		--without-DCC-MD5 \
 		--with-uid=${DCCUSER} \
 		--bindir=${PREFIX}/bin \
-		--mandir=${MANPREFIX}/man \
+		--mandir=${PREFIX}/share/man \
 		--with-installroot=\$${${DESTDIRNAME}} \
 		--with-configsuffix=.sample \
 		--with-make-cmd=${MAKE_CMD} \
diff --git a/mail/dcc-dccd/pkg-plist b/mail/dcc-dccd/pkg-plist
index 3ca9dcd85353..e39d83e8b62e 100644
--- a/mail/dcc-dccd/pkg-plist
+++ b/mail/dcc-dccd/pkg-plist
@@ -46,15 +46,15 @@ libexec/stop-dccd
 libexec/updatedcc
 libexec/uninstalldcc
 libexec/wlist
-man/man8/cdcc.8.gz
-man/man8/dbclean.8.gz
-man/man8/dblist.8.gz
-man/man8/dcc.8.gz
-man/man8/dccd.8.gz
-man/man8/dccifd.8.gz
-man/man8/dccm.8.gz
-man/man8/dccproc.8.gz
-man/man8/dccsight.8.gz
+share/man/man8/cdcc.8.gz
+share/man/man8/dbclean.8.gz
+share/man/man8/dblist.8.gz
+share/man/man8/dcc.8.gz
+share/man/man8/dccd.8.gz
+share/man/man8/dccifd.8.gz
+share/man/man8/dccm.8.gz
+share/man/man8/dccproc.8.gz
+share/man/man8/dccsight.8.gz
 @owner %%DCCUSER%%
 @group %%DCCGROUP%%
 @sample %%DCCDATA%%/dcc_conf.sample