[77618] trunk/base/src/port
jmr at macports.org
jmr at macports.org
Wed Apr 6 16:47:29 PDT 2011
Revision: 77618
http://trac.macports.org/changeset/77618
Author: jmr at macports.org
Date: 2011-04-06 16:47:28 -0700 (Wed, 06 Apr 2011)
Log Message:
-----------
bring back 'archive' action to allow installing but not activating
Modified Paths:
--------------
trunk/base/src/port/port-help.tcl
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port-help.tcl
===================================================================
--- trunk/base/src/port/port-help.tcl 2011-04-06 21:05:27 UTC (rev 77617)
+++ trunk/base/src/port/port-help.tcl 2011-04-06 23:47:28 UTC (rev 77618)
@@ -13,6 +13,10 @@
--no-exec Do not execute any stored pre- or post-activate procedures
}
+set porthelp(archive) {
+Archive the given ports, i.e. install the port image but do not activate
+}
+
set porthelp(archivefetch) {
Fetch archive for the given ports
}
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2011-04-06 21:05:27 UTC (rev 77617)
+++ trunk/base/src/port/port.tcl 2011-04-06 23:47:28 UTC (rev 77618)
@@ -3662,6 +3662,8 @@
set options(ports_requested) 1
# we actually activate as well
set target activate
+ } elseif {$action == "archive"} {
+ set target install
} else {
set target $action
}
@@ -3819,6 +3821,7 @@
distfiles [list action_target [ACTION_ARGS_PORTS]] \
\
archivefetch [list action_target [ACTION_ARGS_PORTS]] \
+ archive [list action_target [ACTION_ARGS_PORTS]] \
unarchive [list action_target [ACTION_ARGS_PORTS]] \
dmg [list action_target [ACTION_ARGS_PORTS]] \
mdmg [list action_target [ACTION_ARGS_PORTS]] \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110406/9d3d052c/attachment.html>
More information about the macports-changes
mailing list