diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/asciidoc.rb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/asciidoc.rb b/Library/Formula/asciidoc.rb index b4409a96a..36720fe66 100644 --- a/Library/Formula/asciidoc.rb +++ b/Library/Formula/asciidoc.rb @@ -1,9 +1,7 @@ -require 'formula' - class Asciidoc < Formula - homepage 'http://www.methods.co.nz/asciidoc' - url 'https://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.tar.gz' - sha1 '82e574dd061640561fa0560644bc74df71fb7305' + homepage "http://www.methods.co.nz/asciidoc" + url "https://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.tar.gz" + sha1 "82e574dd061640561fa0560644bc74df71fb7305" bottle do cellar :any @@ -14,19 +12,19 @@ class Asciidoc < Formula end head do - url 'https://code.google.com/p/asciidoc/', :using => :hg + url "https://code.google.com/p/asciidoc/", :using => :hg depends_on "autoconf" => :build end - depends_on 'docbook' + depends_on "docbook" def install system "autoconf" if build.head? system "./configure", "--prefix=#{prefix}" # otherwise OS X's xmllint bails out - inreplace 'Makefile', '-f manpage', '-f manpage -L' - system "make install" + inreplace "Makefile", "-f manpage", "-f manpage -L" + system "make", "install" end def caveats; <<-EOS.undent |
