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 INSTALL script action "UNPACK" that un...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37415a80c3be
branches:  trunk
changeset: 488553:37415a80c3be
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 03 23:29:08 2005 +0000

description:
Create a new INSTALL script action "UNPACK" that unpacks all of the
sub-scripts.

diffstat:

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

diffs (54 lines):

diff -r 70140f03d4a3 -r 37415a80c3be mk/bsd.pkg.install.mk
--- a/mk/bsd.pkg.install.mk     Thu Feb 03 23:04:40 2005 +0000
+++ b/mk/bsd.pkg.install.mk     Thu Feb 03 23:29:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.79 2005/02/02 10:33:01 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.80 2005/02/03 23:29:08 jlam Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk to use the common
 # INSTALL/DEINSTALL scripts.  To use this Makefile fragment, simply:
@@ -134,7 +134,7 @@
        ${ECHO} "# of the package.";                                    \
        ${ECHO} "#";                                                    \
        ${ECHO} "case \$${STAGE} in";                                   \
-       ${ECHO} "PRE-INSTALL)";                                         \
+       ${ECHO} "PRE-INSTALL|UNPACK)";                                  \
        ${ECHO} "       \$${CAT} > ./+USERGROUP << 'EOF_USERGROUP'";    \
        ${SED} ${FILES_SUBST_SED} ../../mk/install/usergroup;           \
        ${ECHO} "";                                                     \
@@ -186,7 +186,7 @@
        ${ECHO} "# package.";                                           \
        ${ECHO} "#";                                                    \
        ${ECHO} "case \$${STAGE} in";                                   \
-       ${ECHO} "PRE-INSTALL)";                                         \
+       ${ECHO} "PRE-INSTALL|UNPACK)";                                  \
        ${ECHO} "       \$${CAT} > ./+PERMS << 'EOF_PERMS'";            \
        ${SED} ${FILES_SUBST_SED} ../../mk/install/perms;               \
        ${ECHO} "";                                                     \
@@ -257,7 +257,7 @@
        ${ECHO} "# of the package.";                                    \
        ${ECHO} "#";                                                    \
        ${ECHO} "case \$${STAGE} in";                                   \
-       ${ECHO} "PRE-INSTALL)";                                         \
+       ${ECHO} "PRE-INSTALL|UNPACK)";                                  \
        ${ECHO} "       \$${CAT} > ./+FILES << 'EOF_FILES'";            \
        ${SED} ${FILES_SUBST_SED} ../../mk/install/files;               \
        ${ECHO} "";                                                     \
@@ -301,7 +301,7 @@
        ${ECHO} "# of the package.";                                    \
        ${ECHO} "#";                                                    \
        ${ECHO} "case \$${STAGE} in";                                   \
-       ${ECHO} "PRE-INSTALL)";                                         \
+       ${ECHO} "PRE-INSTALL|UNPACK)";                                  \
        ${ECHO} "       \$${CAT} > ./+RCD_SCRIPTS << 'EOF_RCD_SCRIPTS'"; \
        ${SED} ${FILES_SUBST_SED} ../../mk/install/files;               \
        ${ECHO} "";                                                     \
@@ -350,7 +350,7 @@
        ${ECHO} "# package.";                                           \
        ${ECHO} "#";                                                    \
        ${ECHO} "case \$${STAGE} in";                                   \
-       ${ECHO} "PRE-INSTALL)";                                         \
+       ${ECHO} "PRE-INSTALL|UNPACK)";                                  \
        ${ECHO} "       \$${CAT} > ./+DIRS << 'EOF_DIRS'";              \
        ${SED} ${FILES_SUBST_SED} ../../mk/install/dirs;                \
        ${ECHO} "";                                                     \



Home | Main Index | Thread Index | Old Index