diff options
| author | Mike McQuaid | 2013-11-28 10:00:33 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-11-28 10:01:13 +0000 |
| commit | ea0fe99d1e3d14dfd9f0636e292b8c2937f1ea68 (patch) | |
| tree | 7f7a8c89cc5d6970a55822edf50069e3964a5739 /Library/Formula/apache-forrest.rb | |
| parent | 041ad2d37640d83f3ffb1ca5c5e2edaf8ee97ccc (diff) | |
| download | homebrew-ea0fe99d1e3d14dfd9f0636e292b8c2937f1ea68.tar.bz2 | |
apache-forrest: add `forrest` alias.
Diffstat (limited to 'Library/Formula/apache-forrest.rb')
| -rw-r--r-- | Library/Formula/apache-forrest.rb | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/Library/Formula/apache-forrest.rb b/Library/Formula/apache-forrest.rb index 5860211d8..2e7d7fd94 100644 --- a/Library/Formula/apache-forrest.rb +++ b/Library/Formula/apache-forrest.rb @@ -19,20 +19,22 @@ class ApacheForrest < Formula libexec.install Dir['*'] bin.install_symlink "#{libexec}/bin/forrest" - # To avoid conflicts with directory names already installed from the - # main tarball, surgically install contents of dependency tarball - deps_to_install = [ - "lib", - "main/webapp/resources/schema/relaxng", - "main/webapp/resources/stylesheets", - "plugins/org.apache.forrest.plugin.output.pdf/", - "tools/ant", - "tools/forrestbot/lib", - "tools/forrestbot/webapp/lib", - "tools/jetty" - ] resource('deps').stage do - deps_to_install.each { |p| (libexec + p).install Dir[p+"/*"] } + # To avoid conflicts with directory names already installed from the + # main tarball, surgically install contents of dependency tarball + deps_to_install = [ + "lib", + "main/webapp/resources/schema/relaxng", + "main/webapp/resources/stylesheets", + "plugins/org.apache.forrest.plugin.output.pdf/", + "tools/ant", + "tools/forrestbot/lib", + "tools/forrestbot/webapp/lib", + "tools/jetty" + ] + deps_to_install.each do |dep| + (libexec+dep).install Dir["#{dep}/*"] + end end end |
