From 3505159e72da2d8313ce2a8ddc527de700b5bc37 Mon Sep 17 00:00:00 2001
From: Mathieu Arnold <mat@FreeBSD.org>
Date: Tue, 4 May 2021 11:32:20 +0200
Subject: Deorbit RESTRICTED && NO_CDROM, part two.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Move ports to the licenses framework.

RESTRICTED → auto-accept (unless expressly stated otherwise)
NO_CDROM → dist-mirror pkg-mirror auto-accept

Differential Revision:  https://reviews.freebsd.org/D30010
---
 astro/google-earth/Makefile | 6 +++++-
 astro/xephem/Makefile       | 8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

(limited to 'astro')

diff --git a/astro/google-earth/Makefile b/astro/google-earth/Makefile
index 5d7fb059050c..0b32d358ef48 100644
--- a/astro/google-earth/Makefile
+++ b/astro/google-earth/Makefile
@@ -11,7 +11,11 @@ DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Virtual globe, map and geographical information program
 
-RESTRICTED=	Not really sure about the redistribution terms
+# Converted from RESTRICTED
+LICENSE=	GEARTH
+LICENSE_NAME=	Google Earth
+LICENSE_TEXT=	Not really sure about the redistribution terms
+LICENSE_PERMS=	auto-accept
 
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile
index e4ce7b7431b8..e9a42bdb0a63 100644
--- a/astro/xephem/Makefile
+++ b/astro/xephem/Makefile
@@ -9,6 +9,12 @@ MASTER_SITES=	http://www.clearskyinstitute.com/xephem/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Interactive astronomical ephemeris program
 
+# Converted from RESTRICTED
+LICENSE=	XEPHEM
+LICENSE_NAME=	Xephem
+LICENSE_TEXT=	Personal use only
+LICENSE_PERMS=	auto-accept
+
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libfontconfig.so:x11-fonts/fontconfig
 
@@ -21,8 +27,6 @@ MAKE_JOBS_UNSAFE=	yes
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/GUI/xephem
 
-RESTRICTED=	Personal use only
-
 # XXX needs to be the same as DISTFILES
 XEPHEMSRC=	${PORTNAME}-${PORTVERSION}.tgz
 
-- 
cgit