diff options
| author | Adam Vandenberg | 2012-08-25 23:33:26 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-25 23:33:26 -0700 |
| commit | 58fb0839e6c0f5ae917fe22c3c84581078b3f716 (patch) | |
| tree | c7cc466da64f42ffd9aafc9b5575b16679a5c407 /Library/Formula | |
| parent | 7c5e751ec61f79d327a309e462ed91a66eac403b (diff) | |
| download | homebrew-58fb0839e6c0f5ae917fe22c3c84581078b3f716.tar.bz2 | |
reattach-to-user-namespace: use new dsl
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/reattach-to-user-namespace.rb | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Library/Formula/reattach-to-user-namespace.rb b/Library/Formula/reattach-to-user-namespace.rb index 3a231df5a..e47753821 100644 --- a/Library/Formula/reattach-to-user-namespace.rb +++ b/Library/Formula/reattach-to-user-namespace.rb @@ -1,23 +1,20 @@ require 'formula' class ReattachToUserNamespace < Formula - head 'https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard.git' homepage 'https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard' url 'https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard.git', :revision => 'ece1935953593d05e98d8c3ee8f956b2429d633f' version 'ece193' - def options - [ - ['--wrap-pbcopy-and-pbpaste', 'Include wrappers for pbcopy/pbpaste that shim in this fix'], - ['--wrap-launchctl', 'Include wrapper for launchctl with this fix'] - ] - end + head 'https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard.git' + + option 'wrap-pbcopy-and-pbpaste', 'Include wrappers for pbcopy/pbpaste that shim in this fix' + option 'wrap-launchctl', 'Include wrapper for launchctl with this fix' def install system "make" bin.install "reattach-to-user-namespace" - wrap_pbpasteboard_commands if ARGV.include? '--wrap-pbcopy-and-pbpaste' - wrap_launchctl if ARGV.include? '--wrap-launchctl' + wrap_pbpasteboard_commands if build.include? 'wrap-pbcopy-and-pbpaste' + wrap_launchctl if build.include? 'wrap-launchctl' end def wrap_pbpasteboard_commands |
