summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-06-01 02:15:10 +0000
committerjlam <jlam@pkgsrc.org>2017-06-01 02:15:10 +0000
commite7fe02e33c402c818cb69cc8fa554c23adc2cb5a (patch)
treedb49484496fa6798a789721536b886beae253c9b /mk/install
parentaf0fdc41317355088c9f02fa3203e52441290057 (diff)
downloadpkgsrc-e7fe02e33c402c818cb69cc8fa554c23adc2cb5a.tar.gz
Provide switch to activate new frameworks to replace "pkginstall".
If ${_USE_NEW_PKGINSTALL} is "yes", then use the new "pkgtasks", "init", and "pkgformat/pkg"-scripts frameworks instead of the existing "pkginstall" framework.
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/install.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/install/install.mk b/mk/install/install.mk
index 50cc46d9917..1a7368bdd0c 100644
--- a/mk/install/install.mk
+++ b/mk/install/install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.69 2016/07/26 08:41:36 jperkin Exp $
+# $NetBSD: install.mk,v 1.70 2017/06/01 02:15:10 jlam Exp $
#
# This file provides the code for the "install" phase.
#
@@ -179,7 +179,9 @@ _INSTALL_ALL_TARGETS+= plist
_INSTALL_ALL_TARGETS+= install-strip-debug
.endif
_INSTALL_ALL_TARGETS+= install-doc-handling
+.if ${_USE_NEW_PKGINSTALL:Uno} == "no"
_INSTALL_ALL_TARGETS+= install-script-data
+.endif
.if empty(CHECK_FILES:M[nN][oO]) && !empty(CHECK_FILES_SUPPORTED:M[Yy][Ee][Ss])
_INSTALL_ALL_TARGETS+= check-files-post
.endif