diff options
| author | Adam Vandenberg | 2012-08-23 15:22:07 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-23 15:22:07 -0700 |
| commit | dbf3dde2928e362563800ec18085d27d34cc90bf (patch) | |
| tree | 974df919a802f357b3f4c208a186b418e547b324 /Library/Formula | |
| parent | adb9b716c3e64b748bdc1dc0f45a650833d44c1c (diff) | |
| download | homebrew-dbf3dde2928e362563800ec18085d27d34cc90bf.tar.bz2 | |
lolcode: use new dsl
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/lolcode.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/lolcode.rb b/Library/Formula/lolcode.rb index 345b6b52b..4e347ac79 100644 --- a/Library/Formula/lolcode.rb +++ b/Library/Formula/lolcode.rb @@ -3,9 +3,10 @@ require 'formula' class Lolcode < Formula homepage 'http://www.icanhaslolcode.org/' url 'https://github.com/justinmeza/lci/tarball/v0.9.2' - head 'https://github.com/justinmeza/lolcode.git' md5 'bb757687aabea302351cbbce77e01c26' + head 'https://github.com/justinmeza/lolcode.git' + def install inreplace 'Makefile' do |s| s.change_make_var! "prefix", prefix @@ -15,7 +16,7 @@ class Lolcode < Formula # v0.9.2 should use 'make install'. # Later versions can just copy the 'lolcode' bin. - if ARGV.build_head? + if build.head? bin.install 'lolcode' else bin.mkpath |
