<commit_before>require 'formula'

class Hugs98 < Formula
  url 'http://cvs.haskell.org/Hugs/downloads/2006-09/hugs98-plus-Sep2006.tar.gz'
  version 'plus-Sep2006'
  homepage 'http://www.haskell.org/hugs/'
  md5 'e03e0ad79750d037237c47ebe33fa20e'

  depends_on 'readline'

  def patches
    { :p0 => [
      "http://trac.macports.org/export/72943/trunk/dports/lang/hugs98/files/patch-packages-base-include-HsBase.h.diff",
      "https://trac.macports.org/raw-attachment/ticket/20950/patch-libraries-tools-make-bootlib.diff"
    ] }
  end

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
end<commit_msg>hugs98: normalize patch urls [rgov]<commit_after>require 'formula'

class Hugs98 < Formula
  url 'http://cvs.haskell.org/Hugs/downloads/2006-09/hugs98-plus-Sep2006.tar.gz'
  version 'plus-Sep2006'
  homepage 'http://www.haskell.org/hugs/'
  md5 'e03e0ad79750d037237c47ebe33fa20e'

  depends_on 'readline'

  def patches
    { :p0 => [
      "https://trac.macports.org/export/80246/trunk/dports/lang/hugs98/files/patch-packages-base-include-HsBase.h.diff",
      "https://trac.macports.org/export/80246/trunk/dports/lang/hugs98/files/patch-libraries-tools-make-bootlib.diff"
    ] }
  end

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.15907545887151597, 'fraction_numerical': 0.07341944255608429, 'mean_word_length': 3.5714285714285716, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6167930', 'n_tokens_mistral': 631, 'n_tokens_neox': 550, 'n_words': 73}