svn commit: r451432 - head/Mk

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 7 09:12:33 UTC 2017


Author: sunpoet
Date: Sat Oct  7 09:12:31 2017
New Revision: 451432
URL: https://svnweb.freebsd.org/changeset/ports/451432

Log:
  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)

Modified:
  head/Mk/bsd.licenses.mk

Modified: head/Mk/bsd.licenses.mk
==============================================================================
--- head/Mk/bsd.licenses.mk	Sat Oct  7 09:06:56 2017	(r451431)
+++ head/Mk/bsd.licenses.mk	Sat Oct  7 09:12:31 2017	(r451432)
@@ -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}?=#


More information about the svn-ports-all mailing list