From 60ca667b49b26bbb5f60c2ce8ad4bae37e1f3850 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 19 Dec 2007 11:56:19 +0000 Subject: Added a variable META_PACKAGE that should be set to "yes" by meta-packages. That way, the packages don't need to know the details of how meta-packages are defined. --- mk/bsd.pkg.mk | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 9f2ecfc9be3..c7c7219da79 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1930 2007/12/13 11:57:34 rillig Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1931 2007/12/19 11:56:19 rillig Exp $ # # This file is in the public domain. # @@ -74,6 +74,22 @@ PKGNAME?= ${DISTNAME} PKGNAME_NOREV= ${PKGNAME} .endif +# A meta-package is a package that does not have any files and whose +# only purpose is to depend on other packages, giving that collection +# a simple name. +# +# Keywords: meta meta-package META_PACKAGE +# +.if defined(META_PACKAGE) +NO_CHECKSUM= yes +NO_CONFIGURE= yes +NO_BUILD= yes +DISTFILES= # none +PLIST_SRC= # none +do-install: + @${DO_NADA} +.endif + ##### Others BUILD_DEPENDS?= # empty -- cgit v1.2.3