Mac OS X
Midgard for MacPorts
Midgard is being maintained as part of the MacPorts collection. MacPorts is a Mac version of the BSD Ports collection that enables easy installation of preconfigured source packages. More information about MacPorts is available in their wiki.
To install Midgard with MacPorts you need the Apple Xcode Tools. Once you have both MacPorts and Xcode installed, open Terminal and run:
$ sudo port sync
$ sudo port install apache2
$ sudo port install mysql5 +server
$ sudo port install php5 +apache2 +pear +mysql5
$ sudo port install midgard-data
Then you need to initialize and start the MySQL and Apache processes:
$ sudo launchctl load -w /Library/LaunchDaemons/org.darwinports.mysql5.plist
$ sudo launchctl load -w /Library/LaunchDaemons/org.darwinports.apache2.plist
After that you should be able to set up the database and virtual host normally.
As these instructions are not very complete, feel free to ask Jyrki Wahlstedt (jwa (at) macports (dot) org).
