git: 50a9865ccad6 - main - graphics/exiftran: Sanitize MANPREFIX

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

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

commit 50a9865ccad6dbd66dbe204a692d77b9beb9dc85
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 11:18:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 12:26:16 +0000

    graphics/exiftran: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 graphics/exiftran/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/graphics/exiftran/Makefile b/graphics/exiftran/Makefile
index 273d9c4ea259..7e242cbc8b59 100644
--- a/graphics/exiftran/Makefile
+++ b/graphics/exiftran/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	exiftran
 PORTVERSION=	2.14
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.kraxel.org/releases/fbida/
 DISTNAME=	fbida-${PORTVERSION}
@@ -19,9 +19,9 @@ USE_XORG=	pixman
 
 CONFLICTS_INSTALL=	ida
 
-MAKE_ARGS+=	WRKSRC=${WRKSRC} BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man
+MAKE_ARGS+=	WRKSRC=${WRKSRC} BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/share/man
 PLIST_FILES=	bin/exiftran bin/thumbnail.cgi \
-		man/man1/exiftran.1.gz
+		share/man/man1/exiftran.1.gz
 
 CFLAGS+=	-I${LOCALBASE}/include
 
@@ -35,6 +35,6 @@ post-patch:
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/man/exiftran.1 \
-		${STAGEDIR}${PREFIX}/man/man1/exiftran.1
+		${STAGEDIR}${PREFIX}/share/man/man1/exiftran.1
 
 .include <bsd.port.mk>