2009-11-11 21:09:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Doxygen <Formula
|
2010-06-25 17:15:24 +00:00
|
|
|
url 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.7.1.src.tar.gz'
|
2009-11-11 21:09:28 +00:00
|
|
|
homepage 'http://www.doxygen.org/'
|
2010-06-25 17:15:24 +00:00
|
|
|
md5 '13e76e10fb55581a16ee04de35c264f0'
|
2009-11-11 21:09:28 +00:00
|
|
|
|
|
|
|
def install
|
2010-03-07 06:27:19 +00:00
|
|
|
system "./configure", "--prefix", prefix
|
2010-02-16 05:52:56 +00:00
|
|
|
inreplace "Makefile" do |s|
|
|
|
|
# Path of man1 relative to already given prefix
|
2010-08-23 21:06:36 +00:00
|
|
|
s.change_make_var! 'MAN1DIR', 'share/man/man1'
|
2010-02-16 05:52:56 +00:00
|
|
|
end
|
2009-11-11 21:09:28 +00:00
|
|
|
system "make"
|
2010-02-16 05:52:56 +00:00
|
|
|
system "make install"
|
2009-11-11 21:09:28 +00:00
|
|
|
end
|
|
|
|
end
|