Index: portindex =================================================================== --- portindex (revision 49811) +++ portindex (working copy) @@ -191,14 +191,14 @@ $catkey{$name} = $cat[0]; + # figure out the FTP url + $loc =~ s%/usr/ports/%$baseSVNWEB%; + $ldesc =~ s%/usr/ports/%$baseSVNWEB%; + $ldesc .= '?revision=HEAD'; + foreach my $i (sort(@cat)) { $stats{$i}++; - # figure out the FTP url - $loc =~ s%/usr/ports/%$baseSVNWEB%; - $ldesc =~ s%/usr/ports/%$baseSVNWEB%; - $ldesc .= '?revision=HEAD'; - # The name description and maintainer $name =~ s/,.*//g; $name =~ s/\++//g;