summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 01:09:01 +0000
committerjoerg <joerg>2008-06-12 01:09:01 +0000
commit63309a20a533bc79929c9bd5b3bf872561762300 (patch)
tree944256bed35067fd70e782c87a4dbfd9be3e433b /mk/bsd.prefs.mk
parent7ab35123cea0cfc3c16593a7c3dea13cf2b19b58 (diff)
downloadpkgsrc-63309a20a533bc79929c9bd5b3bf872561762300.tar.gz
Move META_PACKAGE logic from bsd.pkg.mk to bds.prefs.mk, otherwise it
can't define destdir support.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk20
1 files changed, 19 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index c16e55a3fb9..dfe22f0ad58 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.283 2008/05/24 03:40:35 tnn Exp $
+# $NetBSD: bsd.prefs.mk,v 1.284 2008/06/12 01:09:02 joerg Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -354,6 +354,24 @@ PKG_FAIL_REASON+= "missing mk/platform/${OPSYS}.mk"
PKGDIRMODE?= 755
+# 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)
+PKG_DESTDIR_SUPPORT= user-destdir
+NO_CONFIGURE= yes
+NO_BUILD= yes
+DISTFILES= # none
+PLIST_SRC= # none
+do-patch:
+ @${DO_NADA}
+do-install:
+ @${DO_NADA}
+.endif
+
# PKG_DESTDIR_SUPPORT can only be one of "destdir" or "user-destdir".
USE_DESTDIR?= no
PKG_DESTDIR_SUPPORT?= # empty