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>
This commit is contained in:
Chris Hutchinson 2025-01-30 18:22:46 +03:00 committed by Eygene Ryabinkin
parent acaa969e28
commit a3195024cb

View file

@ -1,6 +1,6 @@
PORTNAME= itk PORTNAME= itk
PORTVERSION= 3.4.2 PORTVERSION= 3.4.2
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= x11-toolkits tk CATEGORIES= x11-toolkits tk
MASTER_SITES= SF/incrtcl/%5BIncr%20Tcl_Tk%5D-source/Itk%20${PORTVERSION} MASTER_SITES= SF/incrtcl/%5BIncr%20Tcl_Tk%5D-source/Itk%20${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION} DISTNAME= ${PORTNAME}${PORTVERSION}
@ -9,10 +9,16 @@ MAINTAINER= erik@bz.bzflag.bz
COMMENT= Object-oriented extension to Tk [incr Tk] COMMENT= Object-oriented extension to Tk [incr Tk]
WWW= https://sourceforge.net/projects/incrtcl/ 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 LIB_DEPENDS= libitcl.so:lang/itcl
USES= tk:85,86 uidfix USES= tk:85,86 uidfix
USE_LDCONFIG= yes USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}
MAKE_ENV+= ${PLIST_SUB} \ MAKE_ENV+= ${PLIST_SUB} \
SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \ SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \