aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/highlight.rb
diff options
context:
space:
mode:
authorMartin Kühl2010-04-12 01:01:45 +0200
committerAdam Vandenberg2010-04-30 12:42:54 -0700
commit4685ba994d11048e9e688e642e1056f602e1337f (patch)
treea702912ccf7ef4c821579f76c504cc2cafc250fc /Library/Formula/highlight.rb
parent083e2a4b45d3f88bd5960da6caba07693e94fee4 (diff)
downloadhomebrew-4685ba994d11048e9e688e642e1056f602e1337f.tar.bz2
New Formula: highlight
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Fix etc folder, must have trailing slash for .conf to install correctly.
Diffstat (limited to 'Library/Formula/highlight.rb')
-rw-r--r--Library/Formula/highlight.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/highlight.rb b/Library/Formula/highlight.rb
new file mode 100644
index 000000000..b1d04f9bd
--- /dev/null
+++ b/Library/Formula/highlight.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Highlight <Formula
+ url 'http://www.andre-simon.de/zip/highlight-2.16.tar.bz2'
+ homepage 'http://www.andre-simon.de/doku/highlight/en/highlight.html'
+ sha1 'b5fed14bb1a973fe134dd2133766bb86fdc7494e'
+
+ def install
+ conf = etc+'highlight/'
+ system "make", "PREFIX=#{prefix}", "conf_dir=#{conf}"
+ system "make", "PREFIX=#{prefix}", "conf_dir=#{conf}", "install"
+ end
+end