560a05c203
Otherwise, it produces a runtime error: "cannot open /usr/local/etc/highlightfiletypes.conf: No such file or directory" Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
501 B
Ruby
16 lines
501 B
Ruby
require 'formula'
|
|
|
|
class Highlight < Formula
|
|
url 'http://www.andre-simon.de/zip/highlight-3.5.tar.bz2'
|
|
homepage 'http://www.andre-simon.de/doku/highlight/en/highlight.html'
|
|
sha1 '0e57b45103b6f471a96f987f98dc5e09fed138b5'
|
|
|
|
depends_on 'boost'
|
|
depends_on 'lua'
|
|
|
|
def install
|
|
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"
|
|
end
|
|
end
|