From 12dc6e7ff2d93344c926d877cf317c7bd504e50d Mon Sep 17 00:00:00 2001 From: Jan de Muijnck-Hughes Date: Mon, 19 Jul 2010 16:05:54 +0200 Subject: style-check.rb for TeX Signed-off-by: Adam Vandenberg --- Library/Formula/style-check.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 Library/Formula/style-check.rb (limited to 'Library/Formula') diff --git a/Library/Formula/style-check.rb b/Library/Formula/style-check.rb new file mode 100755 index 000000000..3303f7ae6 --- /dev/null +++ b/Library/Formula/style-check.rb @@ -0,0 +1,17 @@ +require 'formula' + +class StyleCheck < Formula + url 'http://www.cs.umd.edu/~nspring/software/style-check-0.13.tar.gz' + homepage 'http://www.cs.umd.edu/~nspring/software/style-check-readme.html' + md5 '60eab1aa903217455dcd0f8997949c94' + + def install + inreplace "Makefile" do |s| + s.change_make_var! 'PREFIX', prefix + s.change_make_var! 'SYSCONFDIR', (etc+'style-check.d') + end + inreplace "style-check.rb", '/etc/style-check.d/', (etc+'style-check.d/') + + system "make install" + end +end -- cgit v1.2.3