id summary reporter owner description type status priority milestone component version resolution keywords cc port 13260 Relax the port lint categories check ryandesign ryandesign "`port lint` complains if it finds an invalid category, e.g.: {{{ $ sudo port lint phpmyadmin ---> Verifying Portfile for phpmyadmin Warning: Line 2 should be a newline (after RCS tag) Warning: Line 40 has trailing whitespace before newline Error: Unknown category: php ---> 1 errors and 2 warnings found. $ }}} [http://lists.macosforge.org/pipermail/macports-dev/2007-October/003197.html Convincing arguments] were made on the mailing list that this check should be relaxed. Yes, there is no category directory ""php"" but so what if extra ""virtual"" categories are listed? I think `lint` should be changed so that it only checks that the first listed category is in fact the directory the port is in -- or at least that the directory the port is in is one of the categories in the list. So here, phpmyadmin's categories list ""www php databases"" would be valid because the phpmyadmin port is in the www directory." enhancement closed Normal MacPorts 1.7.0 base 1.6.0 fixed ryandesign nox@…