<commit_before>require 'formula'

class Colordiff < Formula
  homepage 'http://colordiff.sourceforge.net/'
  url 'http://www.colordiff.org/colordiff-1.0.12.tar.gz'
  sha1 '3a5eb940f0466bb4d0a9f11b1b56e5a5cf79eaaf'

  def patches; DATA; end

  def install
    man1.mkpath
    system "make", "INSTALL_DIR=#{bin}",
                   "ETC_DIR=#{etc}",
                   "MAN_DIR=#{man1}",
                   "install"
  end
end

__END__
diff --git a/Makefile b/Makefile
index 6ccbfc7..e5d64e7 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ DIST_FILES=COPYING INSTALL Makefile README \
 TMPDIR=colordiff-${VERSION}
 TARBALL=${TMPDIR}.tar.gz
 
+.PHONY: install
 
 doc: colordiff.xml cdiff.xml
 	xmlto -vv man colordiff.xml
@@ -28,8 +29,8 @@ install:<commit_msg>Update colordiff to version 1.0.13.<commit_after>require 'formula'

class Colordiff < Formula
  homepage 'http://colordiff.sourceforge.net/'
  url 'http://www.colordiff.org/colordiff-1.0.13.tar.gz'
  sha1 '64e369aed2230f3aa5f1510b231fcac270793c09'

  def patches; DATA; end

  def install
    man1.mkpath
    system "make", "INSTALL_DIR=#{bin}",
                   "ETC_DIR=#{etc}",
                   "MAN_DIR=#{man1}",
                   "install"
  end
end

__END__
diff --git a/Makefile b/Makefile
index 6ccbfc7..e5d64e7 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ DIST_FILES=COPYING INSTALL Makefile README \
 TMPDIR=colordiff-${VERSION}
 TARBALL=${TMPDIR}.tar.gz
 
+.PHONY: install
 
 doc: colordiff.xml cdiff.xml
 	xmlto -vv man colordiff.xml
@@ -28,8 +29,8 @@ install:
{'fraction_non_alphanumeric': 0.14405684754521964, 'fraction_numerical': 0.07041343669250646, 'mean_word_length': 2.971794871794872, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, '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': '5406916', 'n_tokens_mistral': 688, 'n_tokens_neox': 612, 'n_words': 115}