mxcl/homebrew — pull request #13607 by jacknagel (2012-07-26 04:38:33+00:00)
Title: Move X11/XQuartz things into MacOS::XQuartz

In order to better support Xcode-only systems, where X11 libs and executables live under /usr/X11 but headers live in the SDK (along with another copy of the libs, go figure), move the x11_* helper methods into a new module.

This also allows us to keep some of the CLT/Xcode-only and Apple X11/XQuartz logic hidden from other code, like ENV.x11.

Since Apple's X11 is actually XQuartz, and is technically not the same as the upstream X.org distribution, name the module "MacOS::XQuartz".

Formulae can now get things like `MacOS::XQuartz.include` directly rather than `MacOS.x11_prefix/'include'`.