homebrew-core/Formula/fontconfig.rb
Jack Nagel 95d1e93cc4 Add :when_xquartz_installed as a keg-only reason
Using :when_xquartz_installed will tell the keg-only machinery to activate
if XQuartz is installed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12 17:28:15 -05:00

17 lines
422 B
Ruby

require 'formula'
class Fontconfig < Formula
homepage 'http://fontconfig.org/'
url 'http://fontconfig.org/release/fontconfig-2.10.1.tar.gz'
sha1 'e377cbe989cd22d3a10020309c906ecbbcac0043'
keg_only :when_xquartz_installed
depends_on :freetype
depends_on 'pkg-config' => :build
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end