[146757] trunk/base/src/port/port.tcl

raimue at macports.org raimue at macports.org
Wed Mar 16 17:32:55 PDT 2016


Revision: 146757
          https://trac.macports.org/changeset/146757
Author:   raimue at macports.org
Date:     2016-03-16 17:32:55 -0700 (Wed, 16 Mar 2016)
Log Message:
-----------
Show date in verbose output of 'port installed'

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2016-03-17 00:28:57 UTC (rev 146756)
+++ trunk/base/src/port/port.tcl	2016-03-17 00:32:55 UTC (rev 146757)
@@ -3218,6 +3218,10 @@
                 if {$archs != 0 && $archs ne ""} {
                     append extra " archs='$archs'"
                 }
+                set date [registry::property_retrieve $regref date]
+                if {$date ne ""} {
+                    append extra " date='[clock format $date -format "%Y-%m-%d %T"]'"
+                }
             }
             if { $iactive == 0 } {
                 puts "  $iname @${iversion}_${irevision}${ivariants}${nvariants}${extra}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160316/94202091/attachment.html>


More information about the macports-changes mailing list