summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-12-19 11:56:19 +0000
committerrillig <rillig>2007-12-19 11:56:19 +0000
commit60ca667b49b26bbb5f60c2ce8ad4bae37e1f3850 (patch)
tree6b1fe6d1ca6669f75869892f7d93866d535f699f /mk
parent3c34fd1a2b160d5bf48398f32349c9d592a641bb (diff)
downloadpkgsrc-60ca667b49b26bbb5f60c2ce8ad4bae37e1f3850.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.mk18
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