aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmxml.rb
blob: d8a22f3af23837006753fd1ab5af9d1200bf1d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Libmxml < Formula
  homepage 'http://www.minixml.org/'
  url 'http://ftp.easysw.com/pub/mxml/2.7/mxml-2.7.tar.gz'
  sha1 'a3bdcab48307794c297e790435bcce7becb9edae'

  depends_on :xcode # for docsetutil

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--enable-shared",
                          "--prefix=#{prefix}"

    # Makefile hard-codes the path to /Developer
    inreplace "Makefile", "/Developer/usr/bin/docsetutil", MacOS.locate('docsetutil')

    system "make"
    system "make install"
  end
end