git: 5d767556047e - main - textproc/py-regex: Fix LICENSE

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 19 Sep 2026 15:30:24 UTC
The branch main has been updated by sunpoet:

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

commit 5d767556047ee8123b22ff3a74f207f68871edca
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-19 15:27:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-19 15:27:02 +0000

    textproc/py-regex: Fix LICENSE
    
    - While I'm here, add LICENSE_FILE
    
    from pyproject.toml:
    license = "Apache-2.0 AND CNRI-Python"
    license-files = ["LICENSE.txt"]
    
    Approved by:    portmgr (blanket)
    Reference:      https://github.com/mrabarnett/mrab-regex/blob/hg/pyproject.toml#L13-L14
---
 textproc/py-regex/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/textproc/py-regex/Makefile b/textproc/py-regex/Makefile
index 50e66e3a107a..c500051d914a 100644
--- a/textproc/py-regex/Makefile
+++ b/textproc/py-regex/Makefile
@@ -8,7 +8,8 @@ MAINTAINER=	fax@nohik.ee
 COMMENT=	Alternative regular expression module, to replace re
 WWW=		https://github.com/mrabarnett/mrab-regex
 
-LICENSE=	PSFL
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}