GSoC/GCI Archive
Google Summer of Code 2014

The MacPorts Project

License: New and Simplified BSD licenses

Web Page:

Mailing List:

MacPorts is a ports collection and packaging system for OS X. Created in 2002 as DarwinPorts, we have an ever-growing collection of ports (currently over 18000), many of which accept multiple configuration variants. MacPorts itself works on both PowerPC and Intel Macs, running OS X 10.4 through 10.9, and many ports support a similar breadth of systems. As one of the primary means of building and installing open source software on OS X, MacPorts is an important interface between OS X and the rest of the open source world.


  • Interactive Port Command This project deals with building an interactive command line interface for the MacPorts port command. This will enable users to solve conflicts arising in various functions of MacPorts by giving an approval/decision on questions asked by the interactive console. Thus, the user experience will be improved as conflicts will be resolved automatically.
  • Project Clean-up Stuff The main thought behind this project is to combine multiple ideas that were listed on the wiki (and all had a similar theme of 'cleaning-up') into one larger project with the end goal being improving the 'port clean' command, and adding a 'brew doctor'-esque command.
  • Read packages from Python's PIP (pip2port) The project idea aims at generating portfiles for python packages in pip that are non- existent in MacPorts. Also, the idea aims to bring uniformity to the present system by automating the process of creating ports to make package names in Macports match with the ones in pip which is presently not applicable for each and every port. This can be summarized as – when a user runs a command such as pip2port <package- name> it returns the port file for that particular python-package.