git: 429c33beb4e9 - main - sysutils/nut*: Add license

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 09 May 2022 18:11:18 UTC
The branch main has been updated by cy:

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

commit 429c33beb4e96656d0bac5cc9dc1006670d1b62a
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-05-03 15:53:38 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-05-09 17:49:26 +0000

    sysutils/nut*: Add license
    
    Add license definitions.
    
    PR:             263751
    Reported by:    Joerg Pulz <Joerg.Pulz@frm2.tum.de>
---
 sysutils/nut-devel/Makefile | 6 +++++-
 sysutils/nut/Makefile       | 5 +++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index 16181ae31263..59884c8bba7a 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	${NUT_COMMIT_DATE}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	-devel
 # MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
@@ -12,6 +12,10 @@ PKGNAMESUFFIX=	-devel
 MAINTAINER=	cy@FreeBSD.org
 COMMENT=	Network UPS Tools
 
+LICENSE=	GPLv2+ GPLv3+ ART10 GPLv1+
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	networkupstools
 GH_TAGNAME=	9cb8de681
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 0985cc13e59b..88b04128fefd 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	2.8.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -9,6 +10,10 @@ DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 MAINTAINER=	cy@FreeBSD.org
 COMMENT=	Network UPS Tools
 
+LICENSE=	GPLv2+ GPLv3+ ART10 GPLv1+
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USES=		autoreconf:build compiler:c11 gmake libtool pkgconfig python:build