[137979] trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl

larryv at macports.org larryv at macports.org
Tue Jun 23 18:21:41 PDT 2015


Revision: 137979
          https://trac.macports.org/changeset/137979
Author:   larryv at macports.org
Date:     2015-06-23 18:21:41 -0700 (Tue, 23 Jun 2015)
Log Message:
-----------
obsolete-1.0: Revise user-facing messages

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl	2015-06-24 01:03:29 UTC (rev 137978)
+++ trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl	2015-06-24 01:21:41 UTC (rev 137979)
@@ -45,11 +45,11 @@
 supported_archs noarch
 
 if {[info exists replaced_by]} {
-    description     this port is only a stub and has been made obsolete by ${replaced_by}
+    description     Obsolete port, replaced by ${replaced_by}
 } else {
-    description     this port is only a stub and has been made obsolete without replacement.
+    description     Obsolete port
 }
-default long_description ${description}
+default long_description "This port has been replaced by ${replaced_by}."
 
 homepage        http://www.macports.org/
 
@@ -58,9 +58,10 @@
 
 pre-configure {
     if {[info exists replaced_by]} {
-        ui_error "${subport} has been made obsolete by the port ${replaced_by}. Please install ${replaced_by} instead."
+        ui_error "${subport} has been replaced by ${replaced_by};\
+                please install that instead."
     } else {
-        ui_error "${subport} is an obsolete port.  Please uninstall it."
+        ui_error "${subport} is obsolete; please uninstall it."
     }
     return -code error "obsolete port"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150623/bcee961b/attachment-0001.html>


More information about the macports-changes mailing list