git: a3195024cba1 - main - x11-toolkits/itk: add LICENSE metadata

From: Eygene Ryabinkin <rea_at_FreeBSD.org>
Date: Mon, 10 Feb 2025 03:10:28 UTC
The branch main has been updated by rea:

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

commit a3195024cba1f3c2aae636785a41d770c54a3d2e
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2025-01-30 15:22:46 +0000
Commit:     Eygene Ryabinkin <rea@FreeBSD.org>
CommitDate: 2025-02-10 03:03:23 +0000

    x11-toolkits/itk: add LICENSE metadata
    
    The license grants rights to (re)distribute the code/binaries,
    so LICENSE_PERMS were adjusted accordingly (w.r.t. the original patch
    from PR: it has only "auto-accept" that will make the port and distfile
    to disappear from FreeBSD packages/CDN).
    
    While I am here: separate USES/USE_* section from the rest.
    
    PR: 279064
    Maintainer timeout: half a year
    Approved by: yuri@ (mentor)
    Signed-off-by: Eygene Ryabinkin <rea@FreeBSD.org>
---
 x11-toolkits/itk/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile
index afb8f843b6d5..28b6dd598c76 100644
--- a/x11-toolkits/itk/Makefile
+++ b/x11-toolkits/itk/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	itk
 PORTVERSION=	3.4.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-toolkits tk
 MASTER_SITES=	SF/incrtcl/%5BIncr%20Tcl_Tk%5D-source/Itk%20${PORTVERSION}
 DISTNAME=	${PORTNAME}${PORTVERSION}
@@ -9,10 +9,16 @@ MAINTAINER=	erik@bz.bzflag.bz
 COMMENT=	Object-oriented extension to Tk [incr Tk]
 WWW=		https://sourceforge.net/projects/incrtcl/
 
+LICENSE=	LUCENT
+LICENSE_NAME=	Lucent License
+LICENSE_FILE=	${WRKSRC}/license.terms
+LICENSE_PERMS=	auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
+
 LIB_DEPENDS=	libitcl.so:lang/itcl
 
 USES=		tk:85,86 uidfix
 USE_LDCONFIG=	yes
+
 WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION:R}
 MAKE_ENV+=	${PLIST_SUB} \
 		SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \