diff options
| author | Mike McQuaid | 2010-11-23 08:50:29 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2010-11-23 08:50:29 +0000 |
| commit | 073b97d108a77e15b14ed3cbe4e6ba431b215bb5 (patch) | |
| tree | e5b5380518b4de5fd1d84f751a3713ddc8381b31 /Library | |
| parent | 30c934e8f6fe57efcd5e6ddf905dca8603695f18 (diff) | |
| download | homebrew-073b97d108a77e15b14ed3cbe4e6ba431b215bb5.tar.bz2 | |
Revert "New formula: JSTalk", added accidentally.
This reverts commit a5b9fab92855dab2d4b21575fda434a111d9890c.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/jstalk.rb | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/Library/Formula/jstalk.rb b/Library/Formula/jstalk.rb deleted file mode 100644 index 591dbd43f..000000000 --- a/Library/Formula/jstalk.rb +++ /dev/null @@ -1,66 +0,0 @@ -require 'formula' - -class Jstalk <Formula - homepage 'http://jstalk.org' - head 'git://github.com/ccgus/jstalk.git' - url 'http://jstalk.org/download/JSTalkPreview.zip' - version '1.0b' - md5 '405ffbb0f37b8244461b3872cc8d76fa' - - def install - - if ARGV.build_head? - ENV.delete 'CC' - ENV.delete 'CXX' - - args = ["-configuration", "Release", "ONLY_ACTIVE_ARCH=YES"] - targets = ["JSTalk Framework", "jstalk command line", "JSTalk Editor"] - - targets.each do |target| - # Workaround - # http://jstalk.lighthouseapp.com/projects/26692-jstalk/tickets/25 - args << "CC=/usr/bin/clang" if target == "JSTalk Editor" - system "xcodebuild", "-target", target, *args - end - - cd 'build/Release' do - bin.install 'jstalk' - prefix.install "JSTalk Editor.app" - prefix.install "JSTalk.framework" - end - - else - bin.install 'jstalk' - prefix.install Dir['*'] - end - - cd prefix do - mkdir 'Frameworks'; mv 'JSTalk.framework', 'Frameworks' - end - end - - def caveats - framework_caveats = <<-EOS.undent - Framework JSTalk was installed to: - #{prefix}/Frameworks/JSTalk.framework - - You may want to symlink this Framework to a standard OS X location, - such as: - mkdir ~/Frameworks - ln -s "#{prefix}/Frameworks/JSTalk.framework" ~/Frameworks - - EOS - - general_caveats = <<-EOS.undent - JSTalk Editor.app was installed in: - #{prefix} - - To symlink into ~/Applications, you can do: - brew linkapps - - EOS - - return general_caveats + framework_caveats - end - -end |
