aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2017-07-26 23:58:05 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2017-07-26 23:58:05 +0000
commit4251870dd588a39b4054c878d923c25a2ee268a0 (patch)
treee8b5615b078148841b46a526f5b8aa294c23d496 /Mk
parent67242ab1df49f3ac9b52181a6ee5736893a2f572 (diff)
downloadports-4251870dd588a39b4054c878d923c25a2ee268a0.tar.gz
ports-4251870dd588a39b4054c878d923c25a2ee268a0.zip
Notes
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