diff options
-rw-r--r-- | Mk/bsd.licenses.db.mk | 14 | ||||
-rw-r--r-- | Mk/bsd.sanity.mk | 3 |
2 files changed, 16 insertions, 1 deletions
diff --git a/Mk/bsd.licenses.db.mk b/Mk/bsd.licenses.db.mk index ba9d3c6..376fd9a 100644 --- a/Mk/bsd.licenses.db.mk +++ b/Mk/bsd.licenses.db.mk @@ -40,7 +40,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 WTFPL1 WTFPL ZLIB ZPL21 # GNU family @@ -72,6 +72,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 @@ -349,6 +352,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 185314f..cf9d577 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 |