Browse files

lolcode: use new dsl

  • Loading branch information...
1 parent adb9b71 commit dbf3dde2928e362563800ec18085d27d34cc90bf @adamv adamv committed Aug 23, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 Library/Formula/lolcode.rb
View
5 Library/Formula/lolcode.rb
@@ -3,9 +3,10 @@
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 @@ def install
# 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

0 comments on commit dbf3dde

Please sign in to comment.