git: 44b9de54354d - main - archivers/szip: add LICENSE

From: Älven <alven_at_FreeBSD.org>
Date: Thu, 11 Sep 2025 10:18:02 UTC
The branch main has been updated by alven:

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

commit 44b9de54354db4f734ce405dae088b7ecbb78cba
Author:     Chris Hutchinson <portmaster@BSDforge.com>
AuthorDate: 2025-06-25 02:14:05 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2025-09-11 10:17:41 +0000

    archivers/szip: add LICENSE
    
    * While here, pet port(lint,fmt,clippy)
    
    PR:             287798
    Approved by:    yuri@ (Mentor)
---
 archivers/szip/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/archivers/szip/Makefile b/archivers/szip/Makefile
index 0c1666f00d37..97e62ed4e2a0 100644
--- a/archivers/szip/Makefile
+++ b/archivers/szip/Makefile
@@ -10,9 +10,15 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fast compression utility
 WWW=		http://www.compressconsult.com/szip/
 
-NO_WRKSUBDIR=	yes
+LICENSE=	SZ
+LICENSE_NAME=	Szip License
+LICENSE_FILE=	${WRKSRC}/readme.txt
+LICENSE_PERMS=	auto-accept
+
 MAKEFILE=	makefile
 
+NO_WRKSUBDIR=	yes
+
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	*.txt