mxcl/homebrew — pull request #12921 by samueljohn (2012-06-19 15:27:23+00:00)
Title: zint: Remove redundnat flags and add optionally depends_on qt

- the std_cmake_args already include the prefix.
- The CMAKE_C_FLAGS are no longer needed for cmake >= 2.8.8
- for zint-qt GUI, qt is needed.
- ENV.x11 is needed because libpng is (optionally needed. At least for png support and for `brew test`).

This has been tested for Xcode-only. Could someone please brew this and then `brew test zint` on a Mac with command line tools installed. It should work since cmake normally finds stuff pretty well.