highlight 3.18

Closes Homebrew/homebrew#29267.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Paul Capestany 2014-05-14 15:24:15 -07:00 committed by Adam Vandenberg
parent f1f732c3e1
commit c441c698c5

View file

@ -2,8 +2,8 @@ require 'formula'
class Highlight < Formula
homepage 'http://www.andre-simon.de/doku/highlight/en/highlight.html'
url 'http://www.andre-simon.de/zip/highlight-3.14.tar.bz2'
sha1 '02dd278367e9029baeb396cd6af77f11ceb731c5'
url 'http://www.andre-simon.de/zip/highlight-3.18.tar.bz2'
sha1 '985d0a3c707e3251fe50ffff66e11a8563777202'
depends_on 'pkg-config' => :build
depends_on 'boost'
@ -12,7 +12,7 @@ class Highlight < Formula
def install
inreplace "src/makefile" do |s|
s.change_make_var! "CXX", ENV.cxx
s.gsub! /lua5.1/, "lua"
s.gsub! /-DUSE_LUA52/, ""
end
conf_dir = etc+'highlight/' # highlight needs a final / for conf_dir