diff options
| author | Adam Vandenberg | 2012-02-11 15:44:28 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-11 15:44:28 -0800 |
| commit | cbdaca5d1fca77d5789dbfd36f916f459d64d752 (patch) | |
| tree | ad7c38c1d93a42ab34a361eb052de3352a6635a1 /Library/Formula | |
| parent | a50f8a2004d4797070ef3a7afc11da61c1a62492 (diff) | |
| download | homebrew-cbdaca5d1fca77d5789dbfd36f916f459d64d752.tar.bz2 | |
net-nuclear: fix quoting
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/net-nuclear.rb | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/Library/Formula/net-nuclear.rb b/Library/Formula/net-nuclear.rb index 7e7b213e7..b81e9d4ad 100644 --- a/Library/Formula/net-nuclear.rb +++ b/Library/Formula/net-nuclear.rb @@ -10,22 +10,15 @@ end class NetNuclear < Formula + homepage 'http://studiostok.se/?page=netnuclear' url 'http://studiostok.se/files/netnuclear4-source.rar' version '4' - homepage 'http://studiostok.se/?page=netnuclear' md5 '061df954d0632f1cbc158dc0002e4b6c' depends_on 'sdl' depends_on 'sdl_mixer' depends_on 'sdl_net' - def startup_script - return <<-END -#!/bin/bash -#{libexec}/nuclear $* -END - end - def install inreplace 'Makefile' do |s| s.remove_make_var! 'CC' @@ -37,8 +30,11 @@ END libexec.install 'nuclear' d = libexec - NetNuclearSoundsAndGraphics.new.brew { d.install ['sfx','gfx'] } + NetNuclearSoundsAndGraphics.new.brew { d.install 'sfx','gfx' } - (bin+'nuclear').write startup_script + (bin+'nuclear').write <<-END.undent + #!/bin/bash + "#{libexec}/nuclear" "$@" + END end end |
