<commit_before>class Binkd < Formula
  desc "TCP/IP FTN Mailer"
  homepage "http://binkd.grumbler.org/"
  url "https://happy.kiev.ua/pub/fidosoft/mailer/binkd/binkd-1.0.4.tar.gz"
  sha256 "917e45c379bbd1a140d1fe43179a591f1b2ec4004b236d6e0c4680be8f1a0dc0"
  license "GPL-2.0"

  bottle do
    rebuild 1
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "4cd8c44619d3c04b646a1ea8ad7db21feb95e950656c78d5dc1a983d6472b469"
    sha256 cellar: :any_skip_relocation, big_sur:       "3b309f2c4a6ee43441a32c0396a570454737bb85c5467f3e27a8c666140bda59"
    sha256 cellar: :any_skip_relocation, catalina:      "263219b174c193cd86454770d838013daa797994d8d21cdca45493a59d8a5a79"
    sha256 cellar: :any_skip_relocation, mojave:        "1582b44b77979d7258c51baec8bb54f367fc21f8cc03838c9c1b1351ea9f77e7"
    sha256 cellar: :any_skip_relocation, high_sierra:   "e890bed8ae5c89dfabd589e2c9654b2c8da6811bd24fbfd99aa4fc520a535e26"
    sha256 cellar: :any_skip_relocation, sierra:        "d685be9cb23ecb98dc34c2ea185c47ec39e54db1a8ca88782d11cbd96c78862a"
    sha256 cellar: :any_skip_relocation, el_capitan:    "d69c67a3cb68789a0a96196b5d2d92e44e6dd9bab3eb870ec9727987ae538c35"
    sha256 cellar: :any_skip_relocation, yosemite:      "e56862a339a1de58072d3ffb23981bff13a1eb69322c5e12e47949c171d5ceff"
    sha256 cellar: :any_skip_relocation, mavericks:     "55690b37076bc21a7764f85ff97957bc0403b4b45ed6b12585c800d72785bfdb"
  end

  def install
    cp Dir["mkfls/unix/*"].select { |f| File.file? f }, "."
    inreplace "binkd.conf", "/var/", "#{var}/"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make", "install"
  end

  test do<commit_msg>binkd: remove mavericks bottle.<commit_after>class Binkd < Formula
  desc "TCP/IP FTN Mailer"
  homepage "http://binkd.grumbler.org/"
  url "https://happy.kiev.ua/pub/fidosoft/mailer/binkd/binkd-1.0.4.tar.gz"
  sha256 "917e45c379bbd1a140d1fe43179a591f1b2ec4004b236d6e0c4680be8f1a0dc0"
  license "GPL-2.0"

  bottle do
    rebuild 1
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "4cd8c44619d3c04b646a1ea8ad7db21feb95e950656c78d5dc1a983d6472b469"
    sha256 cellar: :any_skip_relocation, big_sur:       "3b309f2c4a6ee43441a32c0396a570454737bb85c5467f3e27a8c666140bda59"
    sha256 cellar: :any_skip_relocation, catalina:      "263219b174c193cd86454770d838013daa797994d8d21cdca45493a59d8a5a79"
    sha256 cellar: :any_skip_relocation, mojave:        "1582b44b77979d7258c51baec8bb54f367fc21f8cc03838c9c1b1351ea9f77e7"
    sha256 cellar: :any_skip_relocation, high_sierra:   "e890bed8ae5c89dfabd589e2c9654b2c8da6811bd24fbfd99aa4fc520a535e26"
    sha256 cellar: :any_skip_relocation, sierra:        "d685be9cb23ecb98dc34c2ea185c47ec39e54db1a8ca88782d11cbd96c78862a"
    sha256 cellar: :any_skip_relocation, el_capitan:    "d69c67a3cb68789a0a96196b5d2d92e44e6dd9bab3eb870ec9727987ae538c35"
    sha256 cellar: :any_skip_relocation, yosemite:      "e56862a339a1de58072d3ffb23981bff13a1eb69322c5e12e47949c171d5ceff"
  end

  def install
    cp Dir["mkfls/unix/*"].select { |f| File.file? f }, "."
    inreplace "binkd.conf", "/var/", "#{var}/"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make", "install"
  end

  test do
{'fraction_non_alphanumeric': 0.09499860296172115, 'fraction_numerical': 0.23498183850237497, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4962325', 'n_tokens_mistral': 1999, 'n_tokens_neox': 1555, 'n_words': 175}