Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2017 09:12:31 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451432 - head/Mk
Message-ID:  <201710070912.v979CVbN079276@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}?=#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710070912.v979CVbN079276>