freebsd-ports/Mk/Uses/metaport.mk
Dima Panov 6d5f280b61 Mk/Uses/metaport.mk: force LICENSE_COMB=single (+)
metaports should not have any license, so it was forced LICENSE to NA.
However, some metaports may inherit multi-licensing settings from master
which leads to failed validation check:
===
License not correctly defined: single license in LICENSE,
but LICENSE_COMB is set to dual (requires more than one)
===

Force paired variable LICENSE_COMB to 'single' to keep validation checks in consistent state

Discussed with:	bapt
Approved by:	portmgr (bapt)
2022-09-19 10:28:10 +03:00

24 lines
484 B
Makefile

# Sets the default variables to handle metaports
#
# Feature: metaport
# Usage: USES=metaport
#
# Take no arguments
.if !defined(_INCLUDE_USES_METAPORT_MK)
_INCLUDE_USES_METAPORT_MK= yes
LICENSE= NA
LICENSE_COMB= single
LICENSE_NAME= Non applicable
LICENSE_TEXT= No licenses are applicable to metaports
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
MASTER_SITES= #
DISTFILES= #
EXTRACT_ONLY= #
NO_BUILD= yes
NO_INSTALL= yes
NO_MTREE= yes
NO_ARCH= yes
.endif