git: 6fc772111e30 - main - graphics/mesa-gallium-vdpau: Cleanup

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

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

commit 6fc772111e302eb8a129725b0c2f7ea629bd3982
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-12-08 16:11:04 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-12-08 19:00:33 +0000

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

diff --git a/graphics/mesa-gallium-vdpau/Makefile b/graphics/mesa-gallium-vdpau/Makefile
index 2ee31ea8913c..105c8d45823f 100644
--- a/graphics/mesa-gallium-vdpau/Makefile
+++ b/graphics/mesa-gallium-vdpau/Makefile
@@ -5,6 +5,12 @@ CATEGORIES=	graphics
 COMMENT=	Mesa Gallium VDPAU 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} \
 		libvdpau.so:multimedia/libvdpau \
@@ -19,9 +25,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="" \
 		-Dgallium-drivers="r300,r600,radeonsi" \
 		-Dvulkan-drivers="" \