git: c1de24a88551 - main - graphics/xpdf3: Sanitize MANPREFIX

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

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

commit c1de24a88551a77ba90cb1e054d4ae613fcf3b22
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 12:08:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 12:26:18 +0000

    graphics/xpdf3: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 graphics/xpdf3/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/xpdf3/Makefile b/graphics/xpdf3/Makefile
index f8c1fcb1499d..f6d2e79401e5 100644
--- a/graphics/xpdf3/Makefile
+++ b/graphics/xpdf3/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS=	libfreetype.so:print/freetype2 \
 		libpng.so:graphics/png
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share/xpdf
 USES=		gmake cpe localbase xorg
 USE_XORG=	ice sm x11 xext xt
 
@@ -31,7 +32,7 @@ CONFIGURE_ARGS=	--enable-opi \
 		--bindir="${PREFIX}/libexec/xpdf" \
 		--mandir="${PREFIX}/share/xpdf/man"
 
-MANPREFIX=	${PREFIX}/share/xpdf
+MANDIRS=	${PREFIX}/share/xpdf/man
 
 OPTIONS_DEFINE=	LIBPAPER TYPE1 X11 DOCS
 LIBPAPER_DESC=	Enable libpaper