aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-10-23 19:09:03 +0100
committerMax Howell2009-10-23 19:22:52 +0100
commit24e28d4bf9276458409322c820352818bab1e634 (patch)
treeff1f6c97a8e0c764945450def61f5cb234e4ac97 /Library
parentd37ab41604b3c212cd0d6ce59f3a000977498892 (diff)
downloadhomebrew-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')
-rw-r--r--Library/Formula/exult.rb14
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