git: 4ef5f4f3f1df - main - graphics/mesa-gallium-xa: Cleanup

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

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

commit 4ef5f4f3f1dfe60509f65f6413431d2f4ded5635
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-12-08 16:11:57 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-12-08 19:00:36 +0000

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

diff --git a/graphics/mesa-gallium-xa/Makefile b/graphics/mesa-gallium-xa/Makefile
index 07026c764bbe..ed3a9b174157 100644
--- a/graphics/mesa-gallium-xa/Makefile
+++ b/graphics/mesa-gallium-xa/Makefile
@@ -5,6 +5,12 @@ CATEGORIES=	graphics
 COMMENT=	Mesa Gallium XA state tracker
 WWW=		https://www.mesa3d.org/
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/docs/license.rst
+
+ONLY_FOR_ARCHS=		amd64 i386
+ONLY_FOR_ARCHS_REASON=	used only by VMware supported architectures
+
 LIB_DEPENDS=	libLLVM-${LLVM_DEFAULT}.so:devel/llvm${LLVM_DEFAULT}
 
 USES=		xorg
@@ -13,9 +19,6 @@ USE_XORG=	xorgproto
 .include <bsd.port.options.mk>
 .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"
 
-ONLY_FOR_ARCHS=		i386 amd64
-ONLY_FOR_ARCHS_REASON=	used only by VMware supported architectures
-
 MESON_ARGS+=	-Ddri-drivers="" \
 		-Dgallium-drivers="svga" \
 		-Dvulkan-drivers="" \