aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2014-12-29 15:30:23 +0800
committerMike McQuaid2014-12-29 07:57:07 +0000
commit81e2ce81bb2e9ffe53f382e667fd73920e5ffc1f (patch)
tree1e397aaa5b3892aa1024ca3d31c508fbae805b31 /Library
parent54feca3de21d336aa65bd91e7b1180587d66dc2c (diff)
downloadhomebrew-81e2ce81bb2e9ffe53f382e667fd73920e5ffc1f.tar.bz2
aspell: modernize
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/aspell.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/aspell.rb b/Library/Formula/aspell.rb
index 3881ce8d2..6dccfb44c 100644
--- a/Library/Formula/aspell.rb
+++ b/Library/Formula/aspell.rb
@@ -1,10 +1,8 @@
-require 'formula'
-
class Aspell < Formula
- homepage 'http://aspell.net/'
- url 'http://ftpmirror.gnu.org/aspell/aspell-0.60.6.1.tar.gz'
- mirror 'http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz'
- sha1 'ff1190db8de279f950c242c6f4c5d5cdc2cbdc49'
+ homepage "http://aspell.net/"
+ url "http://ftpmirror.gnu.org/aspell/aspell-0.60.6.1.tar.gz"
+ mirror "http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz"
+ sha1 "ff1190db8de279f950c242c6f4c5d5cdc2cbdc49"
option "with-lang-af", "Install af dictionary"
resource "af" do
@@ -660,9 +658,9 @@ class Aspell < Formula
def install
system "./configure", "--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
- ENV.prepend_path 'PATH', bin
+ ENV.prepend_path "PATH", bin
languages = []
@@ -679,7 +677,7 @@ class Aspell < Formula
languages.each do |lang|
resource(lang).stage do
system "./configure", "--vars", "ASPELL=#{bin}/aspell", "PREZIP=#{bin}/prezip"
- system "make install"
+ system "make", "install"
end
end
end