aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mcabber.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-07-07 11:08:22 -0700
committerAdam Vandenberg2012-07-10 08:56:02 -0700
commit1f32fa43a77d75fe354e9e59bd23e9b9d934e09c (patch)
treec49ca57d6e333035e48616bf89eaba0d067da021 /Library/Formula/mcabber.rb
parentcc6e0124437c4ceabbc0542770ed154aa0fb9e4e (diff)
downloadhomebrew-1f32fa43a77d75fe354e9e59bd23e9b9d934e09c.tar.bz2
Use autotools symbols
Diffstat (limited to 'Library/Formula/mcabber.rb')
-rw-r--r--Library/Formula/mcabber.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/Library/Formula/mcabber.rb b/Library/Formula/mcabber.rb
index b289bf28b..1b7ab9993 100644
--- a/Library/Formula/mcabber.rb
+++ b/Library/Formula/mcabber.rb
@@ -17,9 +17,9 @@ class Mcabber < Formula
depends_on 'aspell' if ARGV.include? '--enable-aspell'
depends_on 'enchant' if ARGV.include? '--enable-enchant'
- if ARGV.build_head? and MacOS.xcode_version >= "4.3"
- depends_on "automake" => :build
- depends_on "libtool" => :build
+ if ARGV.build_head?
+ depends_on :automake
+ depends_on :libtool
end
def options
@@ -40,7 +40,8 @@ class Mcabber < Formula
end
args = ["--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}", "--enable-otr"]
+ "--prefix=#{prefix}",
+ "--enable-otr"]
args << "--enable-aspell" if ARGV.include? "--enable-aspell"
args << "--enable-enchant" if ARGV.include? "--enable-enchant"
@@ -51,12 +52,11 @@ class Mcabber < Formula
(share+'mcabber').install %w[mcabberrc.example contrib]
end
- def caveats
- <<-EOS.undent
- A configuration file is necessary to start mcabber. The template is here:
- #{share}/mcabber/mcabberrc.example
- And there is a Getting Started Guide you will need to setup Mcabber:
- http://wiki.mcabber.com/index.php/Getting_started
+ def caveats; <<-EOS.undent
+ A configuration file is necessary to start mcabber. The template is here:
+ #{share}/mcabber/mcabberrc.example
+ And there is a Getting Started Guide you will need to setup Mcabber:
+ http://wiki.mcabber.com/index.php/Getting_started
EOS
end
end