homebrew-core/Formula/lolcode.rb
George Kulakowski a539f1b921 lolcode: patch was applied in HEAD upstream
The change in the patch made it upstream:
https://github.com/justinmeza/lci/commit/0aa0132d

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-22 10:04:43 -07:00

25 lines
569 B
Ruby

require 'formula'
class Lolcode < Formula
homepage 'http://www.icanhaslolcode.org/'
url 'https://github.com/justinmeza/lci/tarball/v0.9.2'
head 'git://github.com/justinmeza/lolcode.git'
md5 'bb757687aabea302351cbbce77e01c26'
def install
inreplace 'Makefile' do |s|
s.change_make_var! "prefix", prefix
end
system "make"
# v0.9.2 should use 'make install'.
# Later versions can just copy the 'lolcode' bin.
if ARGV.build_head?
bin.install 'lolcode'
else
bin.mkpath
system "make install"
end
end
end