2009-11-11 21:09:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Doxygen <Formula
|
2011-02-16 11:43:13 +00:00
|
|
|
url 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.7.3.src.tar.gz'
|
2009-11-11 21:09:28 +00:00
|
|
|
homepage 'http://www.doxygen.org/'
|
2011-02-16 11:43:13 +00:00
|
|
|
md5 '6cc5ad566dbec5cf843dc600b1162808'
|
2010-10-12 14:40:33 +00:00
|
|
|
head 'https://doxygen.svn.sourceforge.net/svnroot/doxygen/trunk'
|
|
|
|
|
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
|