Virtual categories are nice, but they are hard to deal with. For starters, there is no simple place to get the description for a virtual category. For a physical category, you can do this:
[dan@polo:~/ports/sysutils] $ make -V COMMENT
System utilities
[dan@polo:~/ports/sysutils] $ grep “System utilities” *
Makefile: COMMENT = System utilities
[dan@polo:~/ports/sysutils] $
But for a virtual category, you have only a file somewhere in the www
tree.
Specifically:
So now I have to fetch that file, grep for the category, ensure it’s a “VC” on the end of the line, and then go from there. This should be easily done in a perl script.