aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/asciidoc.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/asciidoc.rb b/Library/Formula/asciidoc.rb
index a9b8ed37d..45aaf6ee5 100644
--- a/Library/Formula/asciidoc.rb
+++ b/Library/Formula/asciidoc.rb
@@ -3,9 +3,14 @@ require 'formula'
class Asciidoc < Formula
url 'http://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.5/asciidoc-8.6.5.tar.gz'
md5 '9247724283501ec1cfb27d5eae9e5eaf'
+ head 'https://code.google.com/p/asciidoc/', :using => :hg
homepage 'http://www.methods.co.nz/asciidoc'
def install
+ if ARGV.build_head? and not File.exists? "./configure"
+ ohai "Creating configure file"
+ system "autoconf"
+ end
system "./configure", "--disable-debug", "--prefix=#{prefix}"
system "make install"
end