From 047b1158b99d9b93f1ebcb4e0dcbfe9f254e0dc3 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 14 Aug 2012 17:19:55 -0500 Subject: New formula: texi2html This is no longer shipped as of 10.8, but is required to build the documentation for a few formulae, like ffmpeg and ffmbc. This wasn't given a symbolized dependency because I don't anticipate it coming up that often. --- Library/Formula/texi2html.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Library/Formula/texi2html.rb (limited to 'Library/Formula') diff --git a/Library/Formula/texi2html.rb b/Library/Formula/texi2html.rb new file mode 100644 index 000000000..f2fe7ff02 --- /dev/null +++ b/Library/Formula/texi2html.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Texi2html < Formula + homepage 'http://www.nongnu.org/texi2html/' + url 'http://download.savannah.gnu.org/releases/texi2html/texi2html-5.0.tar.bz2' + sha1 '20072444ce814d0e74fd7e467d1506908f8c889c' + + keg_only :provided_by_osx unless MacOS.mountain_lion? + + def install + # The install-sh, used if ginstall is not present, isn't executable! + chmod 0744, "install-sh" + + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" + system "make install" + end + + def test + system "texi2html", "--help" + end +end -- cgit v1.2.3