git: e958c4a515fc - main - graphics/mozjpeg: Update to 4.1.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:18:57 UTC
The branch main has been updated by sunpoet:

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

commit e958c4a515fc06a78b17d0d75a8c780d5f48f193
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:26:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:31 +0000

    graphics/mozjpeg: Update to 4.1.5
    
    - Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
    
    Changes:        https://github.com/mozilla/mozjpeg/releases
                    https://github.com/mozilla/mozjpeg/blob/master/ChangeLog.md
                    https://github.com/mozilla/mozjpeg/commits/master
---
 graphics/mozjpeg/Makefile  |  7 ++++---
 graphics/mozjpeg/distinfo  |  6 +++---
 graphics/mozjpeg/pkg-plist | 10 +++++-----
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/graphics/mozjpeg/Makefile b/graphics/mozjpeg/Makefile
index 490376eecc68..f0c102eb9c7f 100644
--- a/graphics/mozjpeg/Makefile
+++ b/graphics/mozjpeg/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mozjpeg
-PORTVERSION=	4.1.1
+PORTVERSION=	4.1.5
 DISTVERSIONPREFIX=	v
 CATEGORIES=	graphics
 
@@ -14,9 +14,10 @@ BROKEN_mips64=	does not configure: error: SIMD support cannot be enabled
 BUILD_DEPENDS=	nasm>=2.10,1:devel/nasm
 LIB_DEPENDS=	libpng.so:graphics/png
 
-USES=		cmake cpe
+USES=		cmake cpe pathfix
 
-CMAKE_OFF=	REQUIRE_SIMD WITH_12BIT WITH_ARITH_DEC WITH_ARITH_ENC WITH_JAVA WITH_JPEG7
+CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man
+CMAKE_OFF=	REQUIRE_SIMD WITH_12BIT WITH_ARITH_DEC WITH_ARITH_ENC WITH_FUZZ WITH_JAVA WITH_JPEG7
 CMAKE_ON=	ENABLE_SHARED ENABLE_STATIC FORCE_INLINE PNG_SUPPORTED WITH_JPEG8 WITH_MEM_SRCDST WITH_SIMD WITH_TURBOJPEG
 USE_LDCONFIG=	yes
 
diff --git a/graphics/mozjpeg/distinfo b/graphics/mozjpeg/distinfo
index 5b223421853f..922d481a741d 100644
--- a/graphics/mozjpeg/distinfo
+++ b/graphics/mozjpeg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661599141
-SHA256 (mozilla-mozjpeg-v4.1.1_GH0.tar.gz) = 66b1b8d6b55d263f35f27f55acaaa3234df2a401232de99b6d099e2bb0a9d196
-SIZE (mozilla-mozjpeg-v4.1.1_GH0.tar.gz) = 2306575
+TIMESTAMP = 1708448926
+SHA256 (mozilla-mozjpeg-v4.1.5_GH0.tar.gz) = 9fcbb7171f6ac383f5b391175d6fb3acde5e64c4c4727274eade84ed0998fcc1
+SIZE (mozilla-mozjpeg-v4.1.5_GH0.tar.gz) = 2313651
diff --git a/graphics/mozjpeg/pkg-plist b/graphics/mozjpeg/pkg-plist
index 5cf81a4f8786..d23cca54b314 100644
--- a/graphics/mozjpeg/pkg-plist
+++ b/graphics/mozjpeg/pkg-plist
@@ -23,11 +23,6 @@ lib/libturbojpeg.so.0
 lib/libturbojpeg.so.0.2.0
 libdata/pkgconfig/libjpeg.pc
 libdata/pkgconfig/libturbojpeg.pc
-man/man1/cjpeg.1.gz
-man/man1/djpeg.1.gz
-man/man1/jpegtran.1.gz
-man/man1/rdjpgcom.1.gz
-man/man1/wrjpgcom.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE.md
 %%PORTDOCS%%%%DOCSDIR%%/README.ijg
 %%PORTDOCS%%%%DOCSDIR%%/README.md
@@ -133,3 +128,8 @@ man/man1/wrjpgcom.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/tjexample.c
 %%PORTDOCS%%%%DOCSDIR%%/usage.txt
 %%PORTDOCS%%%%DOCSDIR%%/wizard.txt
+share/man/man1/cjpeg.1.gz
+share/man/man1/djpeg.1.gz
+share/man/man1/jpegtran.1.gz
+share/man/man1/rdjpgcom.1.gz
+share/man/man1/wrjpgcom.1.gz