git: 5bb1dbd6288c - main - devel/dia2code: Eliminate MANPREFIX

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Thu, 18 Jan 2024 14:03:37 UTC
The branch main has been updated by garga:

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

commit 5bb1dbd6288cab8958b5bb3f1be5ff5e1175be7d
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-18 14:02:49 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-18 14:02:49 +0000

    devel/dia2code: Eliminate MANPREFIX
    
    While here, move manpages to ${PREFIX}/share/man
    
    Approved by:    portmgr (blanket)
---
 devel/dia2code/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile
index 33b795d9ebb9..ad4d356c677b 100644
--- a/devel/dia2code/Makefile
+++ b/devel/dia2code/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dia2code
 PORTVERSION=	0.8.8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	SF
 
@@ -23,9 +23,9 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 CONFLICTS_INSTALL=	dia2code+
 
 PLIST_FILES=	bin/dia2code \
-		man/man1/dia2code.1.gz
+		share/man/man1/dia2code.1.gz
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>