Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Break long lines

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
commit e459d51d0ba4c98d6825f0a8072b229775979ddd 1 parent 404a8cd
@jacknagel jacknagel authored
View
8 Library/Formula/appledoc.rb
@@ -7,7 +7,13 @@ class Appledoc < Formula
md5 '142cf80513ca8eda2aba631483b2e4e6'
def install
- system "xcodebuild", "-project", "appledoc.xcodeproj", "-target", "appledoc", "-configuration", "Release", "install", "SYMROOT=build", "DSTROOT=build", "INSTALL_PATH=/bin"
+ system "xcodebuild", "-project", "appledoc.xcodeproj",
+ "-target", "appledoc",
+ "-configuration", "Release",
+ "install",
+ "SYMROOT=build",
+ "DSTROOT=build",
+ "INSTALL_PATH=/bin"
bin.install "build/bin/appledoc"
prefix.install "Templates/"
end
View
15 Library/Formula/grads.rb
@@ -11,18 +11,19 @@ class Grads < Formula
md5 '3c94e4e2f840a323df24df5264e159ff'
def install
- bin.install ['bin/bufrscan', 'bin/grads', 'bin/grib2scan', 'bin/gribmap', 'bin/gribscan', 'bin/gxeps', 'bin/gxps', 'bin/gxtran', 'bin/stnmap', 'bin/wgrib']
+ rm 'bin/INSTALL'
+ prefix.install 'bin/COPYRIGHT'
+ prefix.install 'bin'
# Install the required supplementary files
GradsSupplementary.new.brew{ (lib+'grads').install Dir['*'] }
end
- if HOMEBREW_PREFIX.to_s != '/usr/local'
- def caveats
- <<-EOS.undent
- In order to use the GrADS tools, you will need to set the GADDIR
- environment variable to:
- #{HOMEBREW_PREFIX}/lib/grads
+ def caveats
+ if HOMEBREW_PREFIX.to_s != '/usr/local' then <<-EOS.undent
+ In order to use the GrADS tools, you will need to set the GADDIR
+ environment variable to:
+ #{HOMEBREW_PREFIX}/lib/grads
EOS
end
end
View
7 Library/Formula/gwenhywfar.rb
@@ -12,8 +12,11 @@ class Gwenhywfar < Formula
def options
[[
- "--with-gui=XX,...",
- "Install gui support XX where XX is the name of the gui toolkit\n\te.g.: --with-gui=gtk\n\tAvailable gui toolkits are: qt, gtk"
+ "--with-gui=XX,...", <<-EOS.undent
+ Install gui support XX where XX is the name of the gui toolkit
+ \te.g.: --with-gui=gtk
+ \tAvailable gui toolkits are: qt, gtk"
+ EOS
]]
end
View
7 Library/Formula/pyside.rb
@@ -24,7 +24,12 @@ def install
ENV.append_to_cflags "-F#{qt.prefix}/Frameworks"
# Also need `ALTERNATIVE_QT_INCLUDE_DIR` to prevent "missing file" errors.
- system "cmake #{std_cmake_parameters} -DALTERNATIVE_QT_INCLUDE_DIR='#{qt.prefix}/Frameworks' -DSITE_PACKAGE=#{site_package_dir} -DBUILD_TESTS=NO ."
+ args = std_cmake_parameters.split + %W[
+ -DALTERNATIVE_QT_INCLUDE_DIR=#{qt.prefix}/Frameworks
+ -DSITE_PACKAGE=#{site_package_dir}
+ -DBUILD_TESTS=NO
+ .]
+ system "cmake", *args
system 'make install'
end
View
3  Library/Formula/rtorrent.rb
@@ -21,7 +21,8 @@ def install
args << "--with-xmlrpc-c" if Formula.factory("xmlrpc-c").installed?
if MacOS.leopard?
inreplace 'configure' do |s|
- s.gsub! ' pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.4" 2>/dev/null`', ' pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.4" | sed -e "s/-arch [^-]*/-arch $(uname -m) /" 2>/dev/null`'
+ s.gsub! ' pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.4" 2>/dev/null`',
+ ' pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.4" | sed -e "s/-arch [^-]*/-arch $(uname -m) /" 2>/dev/null`'
end
end
system "./configure", *args
View
6 Library/Formula/sqlite.rb
@@ -49,7 +49,11 @@ def install
if ARGV.include? "--with-functions"
SqliteFunctions.new.brew { mv 'extension-functions.c?get=25', buildpath/'extension-functions.c' }
- system ENV.cc, "-fno-common", "-dynamiclib", "extension-functions.c", "-o", "libsqlitefunctions.dylib", *ENV.cflags.split
+ system ENV.cc, "-fno-common",
+ "-dynamiclib",
+ "extension-functions.c",
+ "-o", "libsqlitefunctions.dylib",
+ *ENV.cflags.split
lib.install "libsqlitefunctions.dylib"
end
View
3  Library/Formula/transcode.rb
@@ -18,7 +18,8 @@ class Transcode < Formula
depends_on 'libquicktime'
def install
- args = ["--disable-debug", "--disable-dependency-tracking",
+ args = ["--disable-debug",
+ "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-a52",
"--enable-faac",
View
14 Library/Formula/yarp.rb
@@ -16,7 +16,19 @@ class Yarp < Formula
depends_on 'jpeg'
def install
- system "cmake #{std_cmake_parameters} -DCREATE_LIB_MATH=TRUE -DCREATE_GUIS=TRUE -DCREATE_YMANAGER=TRUE -DYARP_USE_SYSTEM_SQLITE=TRUE -DCREATE_OPTIONAL_CARRIERS=TRUE -DENABLE_yarpcar_mjpeg_carrier=TRUE -DENABLE_yarpcar_rossrv_carrier=TRUE -DENABLE_yarpcar_tcpros_carrier=TRUE -DENABLE_yarpcar_xmlrpc_carrier=TRUE ."
+ args = std_cmake_parameters.split + %W[
+ -DCREATE_LIB_MATH=TRUE
+ -DCREATE_GUIS=TRUE
+ -DCREATE_YMANAGER=TRUE
+ -DYARP_USE_SYSTEM_SQLITE=TRUE
+ -DCREATE_OPTIONAL_CARRIERS=TRUE
+ -DENABLE_yarpcar_mjpeg_carrier=TRUE
+ -DENABLE_yarpcar_rossrv_carrier=TRUE
+ -DENABLE_yarpcar_tcpros_carrier=TRUE
+ -DENABLE_yarpcar_xmlrpc_carrier=TRUE
+ .]
+
+ system "cmake", *args
system "make install"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.