aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gnu-indent.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/gnu-indent.rb b/Library/Formula/gnu-indent.rb
index 4cb278149..33bc82e86 100644
--- a/Library/Formula/gnu-indent.rb
+++ b/Library/Formula/gnu-indent.rb
@@ -1,23 +1,21 @@
require 'formula'
class GnuIndent < Formula
+ homepage 'http://www.gnu.org/software/indent/'
url 'http://ftpmirror.gnu.org/indent/indent-2.2.10.tar.gz'
mirror 'http://ftp.gnu.org/gnu/indent/indent-2.2.10.tar.gz'
- homepage 'http://www.gnu.org/software/indent/'
- md5 'be35ea62705733859fbf8caf816d8959'
+ sha1 '20fa8a7a4af6670c3254c8b87020291c3db37ed1'
- depends_on "gettext"
+ depends_on 'gettext'
- def options
- [['--default-names', "Do not prepend 'g' to the binary (will override system indent)"]]
- end
+ option 'default-names', "Do not prepend 'g' to the binary"
def install
args = ["--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"]
- args << "--program-prefix=g" unless ARGV.include? '--default-names'
+ args << "--program-prefix=g" unless build.include? 'default-names'
system "./configure", *args
system "touch man/malloc.h"