git: 03b2b1e62533 - main - graphics/mozjpeg: Add LICENSE_FILE and TEST_TARGET

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 17:13:55 UTC
The branch main has been updated by sunpoet:

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

commit 03b2b1e6253343658614af12cc16ecfe465d11a4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 17:11:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 17:13:13 +0000

    graphics/mozjpeg: Add LICENSE_FILE and TEST_TARGET
    
    PR:             277007
    Submitted by:   diizzy
---
 graphics/mozjpeg/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics/mozjpeg/Makefile b/graphics/mozjpeg/Makefile
index f0c102eb9c7f..f409ea7665ac 100644
--- a/graphics/mozjpeg/Makefile
+++ b/graphics/mozjpeg/Makefile
@@ -8,6 +8,7 @@ COMMENT=	Improved JPEG encoder by Mozilla
 WWW=		https://github.com/mozilla/mozjpeg
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 BROKEN_mips64=	does not configure: error: SIMD support cannot be enabled
 
@@ -19,6 +20,7 @@ USES=		cmake cpe pathfix
 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
+TEST_TARGET=	test
 USE_LDCONFIG=	yes
 
 CONFLICTS_INSTALL=	jpeg-turbo