diff options
| author | Jack Nagel | 2012-05-15 16:15:46 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-05-15 16:15:46 -0500 |
| commit | e459d51d0ba4c98d6825f0a8072b229775979ddd (patch) | |
| tree | 2271785f58ee84116ad7ab2062fa941c7c0b33b6 | |
| parent | 404a8cdeae458a48d1d2e1ac17eaeb37803c0dbf (diff) | |
| download | homebrew-e459d51d0ba4c98d6825f0a8072b229775979ddd.tar.bz2 | |
Break long lines
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/appledoc.rb | 8 | ||||
| -rw-r--r-- | Library/Formula/grads.rb | 15 | ||||
| -rw-r--r-- | Library/Formula/gwenhywfar.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/pyside.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/rtorrent.rb | 3 | ||||
| -rw-r--r-- | Library/Formula/sqlite.rb | 6 | ||||
| -rw-r--r-- | Library/Formula/transcode.rb | 3 | ||||
| -rw-r--r-- | Library/Formula/yarp.rb | 14 |
8 files changed, 48 insertions, 15 deletions
diff --git a/Library/Formula/appledoc.rb b/Library/Formula/appledoc.rb index d3905035d..f391c2410 100644 --- a/Library/Formula/appledoc.rb +++ b/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 diff --git a/Library/Formula/grads.rb b/Library/Formula/grads.rb index 9f51b5b30..ab5706a37 100644 --- a/Library/Formula/grads.rb +++ b/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 diff --git a/Library/Formula/gwenhywfar.rb b/Library/Formula/gwenhywfar.rb index 99d0f957a..2f26ce56d 100644 --- a/Library/Formula/gwenhywfar.rb +++ b/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 diff --git a/Library/Formula/pyside.rb b/Library/Formula/pyside.rb index 9f8061d4f..6c50570f1 100644 --- a/Library/Formula/pyside.rb +++ b/Library/Formula/pyside.rb @@ -24,7 +24,12 @@ class Pyside < Formula 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 diff --git a/Library/Formula/rtorrent.rb b/Library/Formula/rtorrent.rb index 44539d187..18a61a4d8 100644 --- a/Library/Formula/rtorrent.rb +++ b/Library/Formula/rtorrent.rb @@ -21,7 +21,8 @@ class Rtorrent < Formula 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 diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb index 14620873d..79b4f3f9a 100644 --- a/Library/Formula/sqlite.rb +++ b/Library/Formula/sqlite.rb @@ -49,7 +49,11 @@ class Sqlite < Formula 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 diff --git a/Library/Formula/transcode.rb b/Library/Formula/transcode.rb index 294753d31..24f83fee6 100644 --- a/Library/Formula/transcode.rb +++ b/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", diff --git a/Library/Formula/yarp.rb b/Library/Formula/yarp.rb index 52ef2bd2b..bb79f0fe1 100644 --- a/Library/Formula/yarp.rb +++ b/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 |
