aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJan de Muijnck-Hughes2010-07-19 16:05:54 +0200
committerAdam Vandenberg2010-07-29 13:03:25 -0700
commit12dc6e7ff2d93344c926d877cf317c7bd504e50d (patch)
treed2e68f2f8fbeafc8f9b4b5f5aa91f5fcc7ef51e0 /Library
parent48a664d6ebbbf91a0116a9bcbc45ca69b25705c8 (diff)
downloadhomebrew-12dc6e7ff2d93344c926d877cf317c7bd504e50d.tar.bz2
style-check.rb for TeX
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Formula/style-check.rb17
1 files changed, 17 insertions, 0 deletions
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