2010-04-11 23:01:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Highlight < Formula
|
2011-06-10 18:13:05 +00:00
|
|
|
url 'http://www.andre-simon.de/zip/highlight-3.5.tar.bz2'
|
2010-04-11 23:01:45 +00:00
|
|
|
homepage 'http://www.andre-simon.de/doku/highlight/en/highlight.html'
|
2011-06-10 18:13:05 +00:00
|
|
|
sha1 '0e57b45103b6f471a96f987f98dc5e09fed138b5'
|
|
|
|
|
|
|
|
depends_on 'boost'
|
|
|
|
depends_on 'lua'
|
2010-04-11 23:01:45 +00:00
|
|
|
|
|
|
|
def install
|
2011-08-17 00:39:20 +00:00
|
|
|
conf_dir = etc+'highlight/' # highlight needs a final / for conf_dir
|
|
|
|
system "make", "PREFIX=#{prefix}", "conf_dir=#{conf_dir}"
|
|
|
|
system "make", "PREFIX=#{prefix}", "conf_dir=#{conf_dir}", "install"
|
2010-04-11 23:01:45 +00:00
|
|
|
end
|
|
|
|
end
|