K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-09T08:48:01.937783Z K 7 svn:log V 425 1. Be more robust in choosing the string to search for: a. If there is a '.' in PKGNAME use ${PKGNAME%%\.*} to handle ports like lang/tcl* whose LATEST_LINK is different. This also saves an external call to make in the common case b. If there is no '.', then use LATEST_LINK. 2. Change the grep for finding the latest package version to pick from the anchor tag just like the truncation code in the previous commit END