git: 7c5fb402546e - main - graphics/mesa-gallium-va: Cleanup

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Thu, 08 Dec 2022 19:01:34 UTC
The branch main has been updated by manu:

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

commit 7c5fb402546eb7ef704f0b4b110429356fc6866f
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-12-08 16:09:11 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-12-08 19:00:31 +0000

    graphics/mesa-gallium-va: Cleanup
    
    - Specify license directly in this port.
    - Order ONLY_FOR_ARCH
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 graphics/mesa-gallium-va/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/graphics/mesa-gallium-va/Makefile b/graphics/mesa-gallium-va/Makefile
index 58ae8a8a06b1..007bfcd2d437 100644
--- a/graphics/mesa-gallium-va/Makefile
+++ b/graphics/mesa-gallium-va/Makefile
@@ -5,6 +5,12 @@ CATEGORIES=	graphics
 COMMENT=	Mesa Gallium VAAPI drivers
 WWW=		https://www.mesa3d.org/
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/docs/license.rst
+
+ONLY_FOR_ARCHS=		aarch64 amd64 i386 powerpc64 powerpc64le
+ONLY_FOR_ARCHS_REASON=	used only by AMD/Radeon hardware
+
 LIB_DEPENDS=	libva.so:multimedia/libva \
 		libLLVM-${LLVM_DEFAULT}.so:devel/llvm${LLVM_DEFAULT} \
 		libzstd.so:archivers/zstd
@@ -18,9 +24,6 @@ X11_USE=		xorg=xorgproto,x11,xcb,xdamage,xext,xfixes,xshmfence,xxf86vm,xrandr
 .include <bsd.port.options.mk>
 .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"
 
-ONLY_FOR_ARCHS=		i386 amd64 aarch64 powerpc64 powerpc64le
-ONLY_FOR_ARCHS_REASON=	used only by AMD/Radeon hardware
-
 MESON_ARGS+=	-Ddri-drivers="" \
 		-Dvideo-codecs="vc1dec,h264dec,h264enc,h265dec,h265enc" \
 		-Dgallium-drivers="radeonsi,r600" \