aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-18 19:28:38 -0700
committerAdam Vandenberg2014-05-18 19:28:47 -0700
commitb6e593a0a7a48db9bee087a98085d616aae67055 (patch)
treed5787c2f53a2db398d2373ec4cfe8ea6803ca5aa /Library/Formula
parentdf2e77c0d3ec380e0472aa51600ae8400cbaeabb (diff)
downloadhomebrew-b6e593a0a7a48db9bee087a98085d616aae67055.tar.bz2
bsdmake: quotes
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bsdmake.rb30
1 files changed, 15 insertions, 15 deletions
diff --git a/Library/Formula/bsdmake.rb b/Library/Formula/bsdmake.rb
index a6368c7ca..e2ca79513 100644
--- a/Library/Formula/bsdmake.rb
+++ b/Library/Formula/bsdmake.rb
@@ -1,9 +1,9 @@
-require 'formula'
+require "formula"
class Bsdmake < Formula
- homepage 'http://opensource.apple.com/'
- url 'http://opensource.apple.com/tarballs/bsdmake/bsdmake-24.tar.gz'
- sha1 '9ce3c3fc01e0eb47d82827b1eb227eb371fefd5c'
+ homepage "http://opensource.apple.com/"
+ url "http://opensource.apple.com/tarballs/bsdmake/bsdmake-24.tar.gz"
+ sha1 "9ce3c3fc01e0eb47d82827b1eb227eb371fefd5c"
keg_only :provided_until_xcode43
@@ -31,9 +31,9 @@ class Bsdmake < Formula
def install
# Replace @PREFIX@ inserted by MacPorts patches
- # Use 'prefix' since this is sometimes a keg-only brew
+ # Use "prefix" since this is sometimes a keg-only brew
# But first replace the X11 path if X11 is installed
- inreplace 'mk/sys.mk', '@PREFIX@', MacOS::X11.prefix || prefix
+ inreplace "mk/sys.mk", "@PREFIX@", MacOS::X11.prefix || prefix
inreplace %W[mk/bsd.README
mk/bsd.cpu.mk
mk/bsd.doc.mk
@@ -42,20 +42,20 @@ class Bsdmake < Formula
mk/bsd.port.mk
mk/bsd.port.subdir.mk
pathnames.h],
- '@PREFIX@', prefix
+ "@PREFIX@", prefix
- inreplace 'mk/bsd.own.mk' do |s|
- s.gsub! '@INSTALL_USER@', `id -un`.chomp
- s.gsub! '@INSTALL_GROUP@', `id -gn`.chomp
+ inreplace "mk/bsd.own.mk" do |s|
+ s.gsub! "@INSTALL_USER@", `id -un`.chomp
+ s.gsub! "@INSTALL_GROUP@", `id -gn`.chomp
end
# See GNUMakefile
- ENV.append 'CFLAGS', '-D__FBSDID=__RCSID'
- ENV.append 'CFLAGS', '-mdynamic-no-pic'
+ ENV.append "CFLAGS", "-D__FBSDID=__RCSID"
+ ENV.append "CFLAGS", "-mdynamic-no-pic"
system "make", "-f", "Makefile.dist"
- bin.install 'pmake' => 'bsdmake'
- man1.install 'make.1' => 'bsdmake.1'
- (share/'mk/bsdmake').install Dir['mk/*']
+ bin.install "pmake" => "bsdmake"
+ man1.install "make.1" => "bsdmake.1"
+ (share/"mk/bsdmake").install Dir["mk/*"]
end
end