git: 766cb164ce75 - main - textproc/docbook2mdoc: fix PREFIX support

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Mon, 15 May 2023 07:24:27 UTC
The branch main has been updated by bapt:

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

commit 766cb164ce75eaba9487f8595b677d82cc3e1dff
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-05-15 07:23:31 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-05-15 07:24:25 +0000

    textproc/docbook2mdoc: fix PREFIX support
    
    PR:     271173
---
 textproc/docbook2mdoc/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/textproc/docbook2mdoc/Makefile b/textproc/docbook2mdoc/Makefile
index 040c6c8b55f7..e1449af5ed19 100644
--- a/textproc/docbook2mdoc/Makefile
+++ b/textproc/docbook2mdoc/Makefile
@@ -10,9 +10,11 @@ WWW=		https://mdocml.bsd.lv/docbook2mdoc/
 
 LICENSE=	ISCL
 
+USES=	tar:tgz
+
 PLIST_FILES=	bin/docbook2mdoc \
 		man/man1/docbook2mdoc.1.gz
 
-USES=	tar:tgz
+MAKE_ARGS=	PREFIX="${PREFIX}"
 
 .include <bsd.port.mk>