aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-08 21:15:06 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-08 21:15:06 +0800
commit8841734a14088bf25d1e9610c46acd645be82ff2 (patch)
treee1913b82c50824ef81cdbcddfa04a64a48fd7419 /Mk
parentaecfeef4a7d491cec3d0bbeab7bab40fbdfa35ee (diff)
downloadfreebsd-ports-gnome-8841734a14088bf25d1e9610c46acd645be82ff2.tar.gz
freebsd-ports-gnome-8841734a14088bf25d1e9610c46acd645be82ff2.tar.zst
freebsd-ports-gnome-8841734a14088bf25d1e9610c46acd645be82ff2.zip
Add support added for LICENSE=NONE, use it when the port doesn't
have cleanly defined licensing terms. Note that without clean license allowing you to use and distribute the code it would be be illegal to do so in many jurisdictions, so for ports with NONE license no distfiles or packages are distributed. While here, fix trailing whitespace in CHANGES. Approved by: portmgr (bapt) Differential Revision: D7816
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.licenses.db.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mk/bsd.licenses.db.mk b/Mk/bsd.licenses.db.mk
index 073fdebee1c7..edb75c63e458 100644
--- a/Mk/bsd.licenses.db.mk
+++ b/Mk/bsd.licenses.db.mk
@@ -63,6 +63,9 @@ _LICENSE_LIST+= ART10 ARTPERL10 ART20
# PHP family
_LICENSE_LIST+= PHP202 PHP30 PHP301
+# Extras
+_LICENSE_LIST+= NONE
+
# List of groups (only names must be present)
_LICENSE_NAME_FSF= Free Software Foundation Approved
@@ -268,6 +271,10 @@ _LICENSE_GROUPS_PSFL= FSF GPL OSI
_LICENSE_NAME_RUBY= Ruby License
_LICENSE_GROUPS_RUBY= FSF
+_LICENSE_NAME_NONE= No license specified
+_LICENSE_GROUPS_NONE= # empty
+_LICENSE_PERMS_NONE= auto-accept
+
_LICENSE_NAME_ZLIB= zlib License
_LICENSE_GROUPS_ZLIB= GPL FSF OSI