[82536] trunk/dports/_resources/port1.0/group/app-1.0.tcl
ryandesign at macports.org
ryandesign at macports.org
Mon Aug 15 06:03:20 PDT 2011
Revision: 82536
http://trac.macports.org/changeset/82536
Author: ryandesign at macports.org
Date: 2011-08-15 06:03:19 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
app-1.0.tcl: app.identifier: also include the path portion of the homepage
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/app-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/app-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/app-1.0.tcl 2011-08-15 12:47:38 UTC (rev 82535)
+++ trunk/dports/_resources/port1.0/group/app-1.0.tcl 2011-08-15 13:03:19 UTC (rev 82536)
@@ -134,6 +134,10 @@
set identifier [lrange ${identifier} 1 end]
}
set identifier [lreverse ${identifier}]
+ set identifier [concat ${identifier} [lrange [split ${homepage} "/"] 3 end]]
+ if {[lindex ${identifier} end] == ""} {
+ set identifier [lrange ${identifier} 0 end-1]
+ }
lappend identifier [string map {"." ""} ${app.name}]
return [regsub -all -nocase {[^a-z0-9.-]} [join ${identifier} .] ""]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/50707fb1/attachment.html>
More information about the macports-changes
mailing list