diff options
| author | Max Howell | 2009-06-15 00:55:32 +0100 |
|---|---|---|
| committer | Max Howell | 2009-06-15 00:55:32 +0100 |
| commit | dfee198fe8952440d52de68ff0aff2b8facd560c (patch) | |
| tree | 6a20835654f6de6afc7a4c041ad2426e1c5f3907 /Library/Formula/astyle.rb | |
| parent | 7eec61001c71f091fe125da9825eb6698b226d87 (diff) | |
| download | homebrew-dfee198fe8952440d52de68ff0aff2b8facd560c.tar.bz2 | |
Artistic Style code beautifier
Diffstat (limited to 'Library/Formula/astyle.rb')
| -rw-r--r-- | Library/Formula/astyle.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/astyle.rb b/Library/Formula/astyle.rb new file mode 100644 index 000000000..81b7fa52f --- /dev/null +++ b/Library/Formula/astyle.rb @@ -0,0 +1,15 @@ +require 'brewkit' + +class Astyle <Formula + @url='http://kent.dl.sourceforge.net/sourceforge/astyle/astyle_1.23_macosx.tar.gz' + @md5='9f7f3237996776d01bc6837cd445a442' + @homepage='http://astyle.sourceforge.net/' + + def install + Dir.chdir 'src' do + ENV['prefix']=prefix + system "make -f ../buildmac/Makefile" + bin.install "../bin/astyle" + end + end +end |
