5f68a09ae2
Closes Homebrew/homebrew#15057.
20 lines
692 B
Ruby
20 lines
692 B
Ruby
require 'formula'
|
|
|
|
class Doxygen < Formula
|
|
homepage 'http://www.doxygen.org/'
|
|
url 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.2.src.tar.gz'
|
|
mirror 'http://downloads.sourceforge.net/project/doxygen/rel-1.8.2/doxygen-1.8.2.src.tar.gz'
|
|
sha1 '7b88ade3989ce0f43f0fb2b2574436c4f1fa1c5a'
|
|
|
|
head 'https://doxygen.svn.sourceforge.net/svnroot/doxygen/trunk'
|
|
|
|
def install
|
|
system "./configure", "--prefix", prefix
|
|
system "make", "CC=#{ENV.cc}",
|
|
"CXX=#{ENV.cxx}",
|
|
"CFLAGS=#{ENV.cflags}",
|
|
"CXXFLAGS=#{ENV.cflags}"
|
|
# MAN1DIR, relative to the given prefix
|
|
system "make", "MAN1DIR=share/man/man1", "install"
|
|
end
|
|
end
|