Index: head/Mk/bsd.licenses.db.mk =================================================================== --- head/Mk/bsd.licenses.db.mk +++ head/Mk/bsd.licenses.db.mk @@ -42,7 +42,7 @@ # _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 @@ 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 @@ -350,6 +353,15 @@ _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 Index: head/Mk/bsd.sanity.mk =================================================================== --- head/Mk/bsd.sanity.mk +++ head/Mk/bsd.sanity.mk @@ -112,6 +112,9 @@ .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