95d1e93cc4
Using :when_xquartz_installed will tell the keg-only machinery to activate if XQuartz is installed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
17 lines
422 B
Ruby
17 lines
422 B
Ruby
require 'formula'
|
|
|
|
class Fontconfig < Formula
|
|
homepage 'http://fontconfig.org/'
|
|
url 'http://fontconfig.org/release/fontconfig-2.10.1.tar.gz'
|
|
sha1 'e377cbe989cd22d3a10020309c906ecbbcac0043'
|
|
|
|
keg_only :when_xquartz_installed
|
|
|
|
depends_on :freetype
|
|
depends_on 'pkg-config' => :build
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|