diff options
author | rillig <rillig> | 2007-12-19 11:56:19 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-12-19 11:56:19 +0000 |
commit | 1601696d8a43ca9452985241e63ffa20526ba58d (patch) | |
tree | 6b1fe6d1ca6669f75869892f7d93866d535f699f /mk | |
parent | 73f9df021c1cab7dbff3180489ed4f44a7bddaca (diff) | |
download | pkgsrc-1601696d8a43ca9452985241e63ffa20526ba58d.tar.gz |
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.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 18 |
1 files changed, 17 insertions, 1 deletions
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 |