<commit_before>require 'formula'

class Falcon <Formula
  url 'http://falconpl.org/project_dl/_official_rel/Falcon-0.9.6.6.tgz'
  homepage 'http://www.falconpl.org/'
  md5 '50ea7d97ec7599d6e75a6b8b5b8c685a'

  head 'http://git.falconpl.org/falcon.git', :branch => 'master', :using => :git

  depends_on 'cmake' => :build
  depends_on 'pcre'

  def options
    [
      ['--manpages', "Install manpages"],
      ['--editline', "Use editline instead of readline"],
      ['--feathers', "Include feathers (extra libraries)"]
    ]
  end

  def install
    args = ["-DCMAKE_BUILD_TYPE=Release",
            "-DCMAKE_INSTALL_PREFIX=#{prefix}",
            "-DFALCON_BIN_DIR=#{bin}",
            "-DFALCON_LIB_DIR=#{lib}",
            "-DFALCON_MAN_DIR=#{man1}",
            "-DFALCON_WITH_INTERNAL_PCRE=ON",
            "-DFALCON_WITH_INTERNAL_ZLIB=ON",
            "-DFALCON_WITH_INTERNAL=ON" ]

    if ARGV.include? '--manpages'
      args << "-DFALCON_WITH_MANPAGES=ON"
    else
      args << "-DFALCON_WITH_MANPAGES=OFF"
      args << "-DFALCON_MAN_DIR=#{man1}"
    end
<commit_msg>Update falcon to 0.9.6.8<commit_after>require 'formula'

class Falcon <Formula
  url 'http://falconpl.org/project_dl/_official_rel/Falcon-0.9.6.8.tgz'
  homepage 'http://www.falconpl.org/'
  md5 'd41d8cd98f00b204e9800998ecf8427e'

  head 'http://git.falconpl.org/falcon.git', :branch => 'master', :using => :git

  depends_on 'cmake' => :build
  depends_on 'pcre'

  def options
    [
      ['--manpages', "Install manpages"],
      ['--editline', "Use editline instead of readline"],
      ['--feathers', "Include feathers (extra libraries)"]
    ]
  end

  def install
    args = ["-DCMAKE_BUILD_TYPE=Release",
            "-DCMAKE_INSTALL_PREFIX=#{prefix}",
            "-DFALCON_BIN_DIR=#{bin}",
            "-DFALCON_LIB_DIR=#{lib}",
            "-DFALCON_MAN_DIR=#{man1}",
            "-DFALCON_WITH_INTERNAL_PCRE=ON",
            "-DFALCON_WITH_INTERNAL_ZLIB=ON",
            "-DFALCON_WITH_INTERNAL=ON" ]

    if ARGV.include? '--manpages'
      args << "-DFALCON_WITH_MANPAGES=ON"
      args << "-DFALCON_MAN_DIR=#{man1}"
    else
      args << "-DFALCON_WITH_MANPAGES=OFF"
    end

{'fraction_non_alphanumeric': 0.15891294334408107, 'fraction_numerical': 0.026715799170888992, 'mean_word_length': 2.8172231985940246, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 3, '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': '7612856', 'n_tokens_mistral': 864, 'n_tokens_neox': 810, 'n_words': 125}