summaryrefslogtreecommitdiff
path: root/mk/license.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-15 09:31:20 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-15 09:31:20 +0000
commit3ada01f0633be599c73e598835f341759fe516d1 (patch)
treef47be4e263735da7658e4f0d75e55ab04d973a2a /mk/license.mk
parentdce0040e24bb1218475300e35ea389af59d3613a (diff)
downloadpkgsrc-3ada01f0633be599c73e598835f341759fe516d1.tar.gz
Add text about AND/OR conditions.
Diffstat (limited to 'mk/license.mk')
-rw-r--r--mk/license.mk18
1 files changed, 12 insertions, 6 deletions
diff --git a/mk/license.mk b/mk/license.mk
index af265ad8c33..b342984c2b2 100644
--- a/mk/license.mk
+++ b/mk/license.mk
@@ -1,4 +1,4 @@
-# $NetBSD: license.mk,v 1.27 2009/07/15 06:12:45 ver Exp $
+# $NetBSD: license.mk,v 1.28 2009/07/15 09:31:20 joerg Exp $
#
# This file handles everything about the LICENSE variable. It is
# included automatically by bsd.pkg.mk.
@@ -36,11 +36,17 @@
#
# The license of the package.
#
-# Sometimes licensing is other than a single text file. See
-# doc/TODO for discussion of how to handle packages with dual
-# licensing (a choice) or where multiple licenses apply
-# simultaneously.
-#
+# Dual licenses can be specified with OR expressions:
+# LICENSE= license1 OR license2
+#
+# If more than one license applies at the same time, AND expressions
+# can be used:
+# LICENSE= license1 AND license2
+#
+# Expressions can be nested if necessary:
+# LICENSE= (license1 AND license2) OR license3
+# Parenthesis are required when mixing AND and OR.
+#
# Every package should specify its license. (Prior to early 2009,
# Open Source and Free software did not have license tags.)
#