<commit_before>require 'formula'

class Surfraw <Formula
  url 'http://surfraw.alioth.debian.org/dist/surfraw-2.2.7.tar.gz'
  homepage 'http://surfraw.alioth.debian.org/'
  md5 '213010e9b7c8478827e8903530cf7787'

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make"
    ENV.j1 # Install using 1 job, or fails on Mac Pro
    system "make install"
  end
end<commit_msg>Fixes for surfraw: - Use correct sysconfdir. - Use a sensible default `browser'.<commit_after>require 'formula'

class Surfraw <Formula
  url 'http://surfraw.alioth.debian.org/dist/surfraw-2.2.7.tar.gz'
  homepage 'http://surfraw.alioth.debian.org/'
  md5 '213010e9b7c8478827e8903530cf7787'

  def install
    system "./configure", "--prefix=#{prefix}",
      "--sysconfdir=#{etc}",
      "--with-graphical-browser=open"
    system "make"
    ENV.j1 # Install using 1 job, or fails on Mac Pro
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.13897937024972856, 'fraction_numerical': 0.06948968512486428, 'mean_word_length': 3.497560975609756, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '3554129', 'n_tokens_mistral': 375, 'n_tokens_neox': 336, 'n_words': 77}