aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/astyle.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-06 22:58:35 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd0efd9ee94a55e243f3b10e903526274fc21d569 (patch)
treeb21984390a0292957a3819df57c62bac558d284d /Library/Formula/astyle.rb
parentcdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff)
downloadhomebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2
Update formulae for version 0.7
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/astyle.rb')
-rw-r--r--Library/Formula/astyle.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/astyle.rb b/Library/Formula/astyle.rb
index afc4a3bc0..f6aed85f9 100644
--- a/Library/Formula/astyle.rb
+++ b/Library/Formula/astyle.rb
@@ -1,15 +1,15 @@
require 'formula'
class Astyle <Formula
- @url='http://downloads.sourceforge.net/sourceforge/astyle/astyle_1.24_macosx.tar.gz'
- @md5='9b63dadac58e867f14b3894befbdc9b3'
- @homepage='http://astyle.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/sourceforge/astyle/astyle_1.24_macosx.tar.gz'
+ md5 '9b63dadac58e867f14b3894befbdc9b3'
+ homepage 'http://astyle.sourceforge.net/'
def install
Dir.chdir 'src' do
ENV['prefix']=prefix
system "make -f ../build/mac/Makefile"
- bin.install "./bin/astyle"
+ bin.install "bin/astyle"
end
end
end \ No newline at end of file