PortsDB is a program that imports the FreeBSD ports tree into an SQLite database.