pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Create a new variable "INSTALL_UNPACK_TMPL" that po...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5832e1f44576
branches:  trunk
changeset: 488273:5832e1f44576
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jan 26 23:14:12 2005 +0000

description:
Create a new variable "INSTALL_UNPACK_TMPL" that points to a list of
shell script fragments that unpack sub-scripts before the any of the
other PRE-INSTALL stages are run.

diffstat:

 mk/bsd.pkg.install.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 0c649e97ff7a -r 5832e1f44576 mk/bsd.pkg.install.mk
--- a/mk/bsd.pkg.install.mk     Wed Jan 26 19:28:55 2005 +0000
+++ b/mk/bsd.pkg.install.mk     Wed Jan 26 23:14:12 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.70 2005/01/23 20:45:22 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.71 2005/01/26 23:14:12 jlam Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk to use the common
 # INSTALL/DEINSTALL scripts.  To use this Makefile fragment, simply:
@@ -33,6 +33,7 @@
 DEINSTALL_PRE_TMPL?=   ${.CURDIR}/../../mk/install/deinstall-pre
 DEINSTALL_EXTRA_TMPL?= # empty
 DEINSTALL_TMPL?=       ${.CURDIR}/../../mk/install/deinstall
+INSTALL_UNPACK_TMPL?=  # empty
 INSTALL_TMPL?=         ${.CURDIR}/../../mk/install/install
 INSTALL_EXTRA_TMPL?=   # empty
 INSTALL_POST_TMPL?=    ${.CURDIR}/../../mk/install/install-post
@@ -49,6 +50,7 @@
 DEINSTALL_TEMPLATES+=  ${_FOOTER_TMPL}
 INSTALL_TEMPLATES=     ${_HEADER_TMPL}
 INSTALL_TEMPLATES+=    ${HEADER_EXTRA_TMPL}
+INSTALL_TEMPLATES+=    ${INSTALL_UNPACK_TMPL}
 INSTALL_TEMPLATES+=    ${INSTALL_TMPL}
 INSTALL_TEMPLATES+=    ${INSTALL_EXTRA_TMPL}
 INSTALL_TEMPLATES+=    ${INSTALL_POST_TMPL}



Home | Main Index | Thread Index | Old Index