aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2014-12-29 11:47:33 +0800
committerMike McQuaid2014-12-29 07:48:51 +0000
commit7c51f06bb979c949c9458ad163e46777ffe367cc (patch)
treec0b617f61af9b2bdf728c5ca957b6a753ceb6241 /Library
parentf9378e9e4d45446c51bad5493d4012b26249e17c (diff)
downloadhomebrew-7c51f06bb979c949c9458ad163e46777ffe367cc.tar.bz2
bison: modernize
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bison.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/bison.rb b/Library/Formula/bison.rb
index 1cfc405fd..87b2d6a95 100644
--- a/Library/Formula/bison.rb
+++ b/Library/Formula/bison.rb
@@ -1,10 +1,8 @@
-require 'formula'
-
class Bison < Formula
- homepage 'http://www.gnu.org/software/bison/'
- url 'http://ftpmirror.gnu.org/bison/bison-3.0.2.tar.gz'
- mirror 'http://ftp.gnu.org/gnu/bison/bison-3.0.2.tar.gz'
- sha1 '4bbb9a1bdc7e4328eb4e6ef2479b3fe15cc49e54'
+ homepage "http://www.gnu.org/software/bison/"
+ url "http://ftpmirror.gnu.org/bison/bison-3.0.2.tar.gz"
+ mirror "http://ftp.gnu.org/gnu/bison/bison-3.0.2.tar.gz"
+ sha1 "4bbb9a1bdc7e4328eb4e6ef2479b3fe15cc49e54"
bottle do
revision 1
@@ -13,7 +11,7 @@ class Bison < Formula
sha1 "995e0372cc6b74c5475f740b83c17963fddbf320" => :mountain_lion
end
- keg_only :provided_by_osx, 'Some formulae require a newer version of bison.'
+ keg_only :provided_by_osx, "Some formulae require a newer version of bison."
def install
system "./configure", "--disable-dependency-tracking",