git: c0ccaf471fa5 - main - graphics/giflib: Sanitize MANPREFIX

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

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

commit c0ccaf471fa52b5ce3914b813143a6042e94bdee
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 11:19:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 12:26:16 +0000

    graphics/giflib: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 graphics/giflib/Makefile  |  4 ++--
 graphics/giflib/pkg-plist | 26 +++++++++++++-------------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index 6a34be057fea..a0b0bc141753 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	giflib
 PORTVERSION=	5.2.1
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}
 
@@ -16,7 +16,7 @@ TEST_DEPENDS=	ghead:sysutils/coreutils
 USES=		cpe gmake
 USE_LDCONFIG=	yes
 CFLAGS+=	-DHAVE_REALLOCARRAY
-MAKE_ARGS=	CC=${CC} LDFLAGS="${LDFLAGS}" MANDIR=${MANPREFIX}/man OFLAGS="${CFLAGS}" PREFIX="${PREFIX}"
+MAKE_ARGS=	CC=${CC} LDFLAGS="${LDFLAGS}" MANDIR=${PREFIX}/share/man OFLAGS="${CFLAGS}" PREFIX="${PREFIX}"
 CPE_VENDOR=	giflib_project
 
 CONFLICTS_INSTALL=	giftool
diff --git a/graphics/giflib/pkg-plist b/graphics/giflib/pkg-plist
index fd37130cc409..8ffea031d789 100644
--- a/graphics/giflib/pkg-plist
+++ b/graphics/giflib/pkg-plist
@@ -9,19 +9,19 @@ lib/libgif.a
 lib/libgif.so
 lib/libgif.so.7
 lib/libgif.so.7.2.0
-man/man1/gif2rgb.1.gz
-man/man1/gifbg.1.gz
-man/man1/gifbuild.1.gz
-man/man1/gifclrmp.1.gz
-man/man1/gifcolor.1.gz
-man/man1/gifecho.1.gz
-man/man1/giffix.1.gz
-man/man1/gifhisto.1.gz
-man/man1/gifinto.1.gz
-man/man1/giflib.1.gz
-man/man1/giftext.1.gz
-man/man1/giftool.1.gz
-man/man1/gifwedge.1.gz
+share/man/man1/gif2rgb.1.gz
+share/man/man1/gifbg.1.gz
+share/man/man1/gifbuild.1.gz
+share/man/man1/gifclrmp.1.gz
+share/man/man1/gifcolor.1.gz
+share/man/man1/gifecho.1.gz
+share/man/man1/giffix.1.gz
+share/man/man1/gifhisto.1.gz
+share/man/man1/gifinto.1.gz
+share/man/man1/giflib.1.gz
+share/man/man1/giftext.1.gz
+share/man/man1/giftool.1.gz
+share/man/man1/gifwedge.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/00README
 %%PORTDOCS%%%%DOCSDIR%%/gif2rgb.html
 %%PORTDOCS%%%%DOCSDIR%%/gif_lib.html