aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorHongli Lai (Phusion)2014-01-16 00:11:03 +0100
committerMike McQuaid2014-01-23 10:55:24 -0800
commitce1ab085eb899e2941616fc8c0529ac1173d8028 (patch)
tree994b57f90a240eb3f59c27f589e77cf12fd1cbb7 /Library
parentc87956c9611ab1dc63b2b9c6387bad269621ebde (diff)
downloadhomebrew-ce1ab085eb899e2941616fc8c0529ac1173d8028.tar.bz2
passenger 4.0.35
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/passenger.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/passenger.rb b/Library/Formula/passenger.rb
index fa209a0c1..497ac8835 100644
--- a/Library/Formula/passenger.rb
+++ b/Library/Formula/passenger.rb
@@ -2,15 +2,17 @@ require 'formula'
class Passenger < Formula
homepage 'https://www.phusionpassenger.com/'
- url 'http://s3.amazonaws.com/phusion-passenger/releases/passenger-4.0.33.tar.gz'
- sha1 'b82ef1f51eab692ea0422028ced210c65d192083'
+ url 'http://s3.amazonaws.com/phusion-passenger/releases/passenger-4.0.35.tar.gz'
+ sha1 '78bb92f51035b574d59bb292f198864f7d63a86c'
head 'https://github.com/phusion/passenger.git'
+ depends_on 'pcre'
depends_on :macos => :lion
def install
rake "apache2"
rake "nginx"
+ rake "webhelper"
necessary_files = Dir["configure", "Rakefile", "README.md", "CONTRIBUTORS",
"CONTRIBUTING.md", "LICENSE", "INSTALL.md", "NEWS", "passenger.gemspec",
@@ -28,8 +30,8 @@ class Passenger < Formula
# Ensure that the Phusion Passenger commands can always find their library
# files.
- locations_ini = `/usr/bin/ruby ./bin/passenger-config --make-locations-ini`
- locations_ini.gsub!(/=#{Regexp.compile Dir.pwd}\//, "=#{libexec}/")
+ locations_ini = `/usr/bin/ruby ./bin/passenger-config --make-locations-ini --for-native-packaging-method=homebrew`
+ locations_ini.gsub!(/=#{Regexp.escape Dir.pwd}/, "=#{libexec}")
(libexec/"lib/phusion_passenger/locations.ini").write(locations_ini)
system "/usr/bin/ruby", "./dev/install_scripts_bootstrap_code.rb",
"--ruby", libexec/"lib", *Dir[libexec/"bin/*"]