diff options
| author | Max Howell | 2009-10-23 19:09:03 +0100 |
|---|---|---|
| committer | Max Howell | 2009-10-23 19:22:52 +0100 |
| commit | 24e28d4bf9276458409322c820352818bab1e634 (patch) | |
| tree | ff1f6c97a8e0c764945450def61f5cb234e4ac97 /Library/Formula | |
| parent | d37ab41604b3c212cd0d6ce59f3a000977498892 (diff) | |
| download | homebrew-24e28d4bf9276458409322c820352818bab1e634.tar.bz2 | |
Install single files to prefix
It's a single .app file, our convention here is typically to just put it at the formula's prefix root.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/exult.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/exult.rb b/Library/Formula/exult.rb index 36bb9cbf8..9eb4d22b9 100644 --- a/Library/Formula/exult.rb +++ b/Library/Formula/exult.rb @@ -1,5 +1,7 @@ require 'formula' +# TODO we shouldn't be installing .apps if there is an option + class Exult <Formula # Use a specific revision that is known to compile (on Snow Leopard too.) head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk', :revision => '6128' @@ -20,13 +22,13 @@ class Exult <Formula system "make" system "make bundle" - libexec.install "Exult.app" + prefix.install "Exult.app" end - def caveats - "Cocoa app installed to #{libexec}\n\n"\ - "Note that this includes only the game engine; you will need to supply\n"\ - "your own legal copy of the Ultima 7 game files.\n\n"\ - "Try here:\n\thttp://www.amazon.com/gp/product/B0002SKOEC?ie=UTF8&tag=adamvandesper-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0002SKOEC" + def caveats; + "Cocoa app installed to #{prefix}\n\n"\ + "Note that this includes only the game engine; you will need to supply your own\n"\ + "own legal copy of the Ultima 7 game files. Try here:\n\n"\ + "http://www.amazon.com/gp/product/B0002SKOEC?ie=UTF8&tag=adamvandesper-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0002SKOEC" end end |
