aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2017-07-27 07:58:05 +0800
committerdbaio <dbaio@FreeBSD.org>2017-07-27 07:58:05 +0800
commit7ee403efdd98d0b63f70d31ed8c9423a2ecf7809 (patch)
treee8b5615b078148841b46a526f5b8aa294c23d496 /Mk
parent3777f0cfa1bc4f904f6733d153552b78401159e3 (diff)
downloadfreebsd-ports-gnome-7ee403efdd98d0b63f70d31ed8c9423a2ecf7809.tar.gz
freebsd-ports-gnome-7ee403efdd98d0b63f70d31ed8c9423a2ecf7809.tar.zst
freebsd-ports-gnome-7ee403efdd98d0b63f70d31ed8c9423a2ecf7809.zip
Introduce versions of the Mozilla Public License (MPL)
MPL10 - https://opensource.org/licenses/MPL-1.0 MPL11 - https://opensource.org/licenses/MPL-1.1 MPL20 - https://opensource.org/licenses/MPL-2.0 More info about the Mozilla Public License: https://www.mozilla.org/en-US/MPL/ Reviewed by: amdmi3, mat Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D11696
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.licenses.db.mk14
-rw-r--r--Mk/bsd.sanity.mk3
2 files changed, 16 insertions, 1 deletions
diff --git a/Mk/bsd.licenses.db.mk b/Mk/bsd.licenses.db.mk
index e46a8c83b28f..2f1276c20b11 100644
--- a/Mk/bsd.licenses.db.mk
+++ b/Mk/bsd.licenses.db.mk
@@ -42,7 +42,7 @@ Licenses_db_Include_MAINTAINER= portmgr@FreeBSD.org
#
_LICENSE_LIST= BSL CDDL CPAL-1.0 ClArtistic EPL GFDL GMGPL \
- ISCL MIT MPL NCSA OFL10 OFL11 OWL OpenSSL PD PSFL PostgreSQL \
+ ISCL MIT NCSA OFL10 OFL11 OWL OpenSSL PD PSFL PostgreSQL \
RUBY UNLICENSE WTFPL1 WTFPL ZLIB ZPL21
# GNU family
@@ -74,6 +74,9 @@ _LICENSE_LIST+= CC0-1.0 \
CC-BY-NC-SA-1.0 CC-BY-NC-SA-2.0 CC-BY-NC-SA-2.5 CC-BY-NC-SA-3.0 CC-BY-NC-SA-4.0 \
CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0 CC-BY-SA-4.0
+# MPL family
+_LICENSE_LIST+= MPL MPL10 MPL11 MPL20
+
# Others
_LICENSE_LIST+= NONE
@@ -351,6 +354,15 @@ _LICENSE_GROUPS_MIT= COPYFREE FSF GPL OSI
_LICENSE_NAME_MPL= Mozilla Public License
_LICENSE_GROUPS_MPL= FSF OSI
+_LICENSE_NAME_MPL10= Mozilla Public License version 1.0
+_LICENSE_GROUPS_MPL10= FSF OSI
+
+_LICENSE_NAME_MPL11= Mozilla Public License version 1.1
+_LICENSE_GROUPS_MPL11= FSF OSI
+
+_LICENSE_NAME_MPL20= Mozilla Public License version 2.0
+_LICENSE_GROUPS_MPL20= FSF OSI
+
_LICENSE_NAME_NCSA= University of Illinois/NCSA Open Source License
_LICENSE_GROUPS_NCSA= COPYFREE FSF GPL OSI
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 185314f0e114..cf9d5771e899 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -112,6 +112,9 @@ DEV_ERROR+= "USE_DOS2UNIX is no longer supported, please use USES=dos2unix"
.if ${LICENSE:MBSD}
DEV_WARNING+= "LICENSE must not contain BSD, instead use BSD[234]CLAUSE"
.endif
+.if ${LICENSE:MMPL}
+DEV_WARNING+= "LICENSE must not contain MPL, instead use MPL[10|11|20]"
+.endif
.else
DEV_WARNING+= "Please set LICENSE for this port"
.endif