Portfiles is a project mainly written in Ruby, it's free.
My local modified portfiles for macports.
404: Not Found