I wonder if we can set MASTER_SITE_SUBDIR to PORTNAME by default when MASTER_SITES is equal to MASTER_SITE_SOURCEFORGE or M_S_SF_EXTENDED? We don't have to take care of ':whatever', just handle the simplest case - and it will save hundreds of lines.