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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-10-07 09:12:31 +00:00
parent 904f8bc81a
commit bca2523b05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451432

View file

@ -296,6 +296,13 @@ _LICENSE_DISTFILES= ${LICENSE_DISTFILES}
. endfor . endfor
.else .else
. if defined(LICENSE_FILE)
. for lic in ${_LICENSE}
LICENSE_FILE_${lic}?= ${LICENSE_FILE}
. endfor
. endif
. for lic in ${_LICENSE} . for lic in ${_LICENSE}
# Defaults to empty # Defaults to empty
_LICENSE_GROUPS_${lic}?=# _LICENSE_GROUPS_${lic}?=#