<commit_before>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<commit_msg>fontconfig: only keg-only on pre-Mountain Lion.<commit_after>require 'formula'

class Fontconfig < Formula
  homepage 'http://fontconfig.org/'
  url 'http://fontconfig.org/release/fontconfig-2.10.1.tar.gz'
  sha1 'e377cbe989cd22d3a10020309c906ecbbcac0043'

  keg_only unless MacOS.version >= :mountain_lion

  depends_on :freetype
  depends_on 'pkg-config' => :build

  def install
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.13015873015873017, 'fraction_numerical': 0.061375661375661375, 'mean_word_length': 4.405714285714286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2185476', 'n_tokens_mistral': 372, 'n_tokens_neox': 330, 'n_words': 64}