From bca2523b05a2012ced686d29ac938130e77273f6 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 7 Oct 2017 09:12:31 +0000 Subject: [PATCH] Add LICENSE_FILE support for single license file containing multiple licenses Differential Revision: https://reviews.freebsd.org/D11443 Submitted by: sunpoet (myself) Approved by: portmgr (mat) --- Mk/bsd.licenses.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Mk/bsd.licenses.mk b/Mk/bsd.licenses.mk index 606a4fd65889..6c08da5482c6 100644 --- a/Mk/bsd.licenses.mk +++ b/Mk/bsd.licenses.mk @@ -296,6 +296,13 @@ _LICENSE_DISTFILES= ${LICENSE_DISTFILES} . endfor .else + +. if defined(LICENSE_FILE) +. for lic in ${_LICENSE} +LICENSE_FILE_${lic}?= ${LICENSE_FILE} +. endfor +. endif + . for lic in ${_LICENSE} # Defaults to empty _LICENSE_GROUPS_${lic}?=#