From ea0fe99d1e3d14dfd9f0636e292b8c2937f1ea68 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 28 Nov 2013 10:00:33 +0000 Subject: apache-forrest: add `forrest` alias. --- Library/Formula/apache-forrest.rb | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3