diff options
| author | Adam Vandenberg | 2010-02-15 21:52:56 -0800 | 
|---|---|---|
| committer | Adam Vandenberg | 2010-02-15 21:52:56 -0800 | 
| commit | 5ff8e6b6d6cd56c7cc4021c16f01b042942a9f80 (patch) | |
| tree | 45f99e97582b6f6c985312523c912bdf6dd21736 | |
| parent | e226fbb4a4abc224f112ee24e420379e4293457e (diff) | |
| download | homebrew-5ff8e6b6d6cd56c7cc4021c16f01b042942a9f80.tar.bz2 | |
Update doxygen to 1.6.2.
| -rw-r--r-- | Library/Formula/doxygen.rb | 33 | 
1 files changed, 7 insertions, 26 deletions
diff --git a/Library/Formula/doxygen.rb b/Library/Formula/doxygen.rb index 0cd6fd9c0..2ea2e96bb 100644 --- a/Library/Formula/doxygen.rb +++ b/Library/Formula/doxygen.rb @@ -1,36 +1,17 @@  require 'formula'  class Doxygen <Formula -  url 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.6.1.src.tar.gz' +  url 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.6.2.src.tar.gz'    homepage 'http://www.doxygen.org/' -  md5 '2ec343643e134f0d3ce2069420bcb4f0' +  md5 '70260101ef60952cb99484700241c99e' -  def patches -    DATA -  end -      def install -    inreplace 'Makefile.in', 'MAN1DIR = man/man1', 'MAN1DIR = share/man/man1'      system "./configure", "--prefix", "#{prefix}" +    inreplace "Makefile" do |s| +      # Path of man1 relative to already given prefix +      s.change_make_var! 'MAN1DIR', 'share/man/man1' +    end      system "make" -    system "make", "install" +    system "make install"    end  end - - -__END__ -diff -Naur doxygen-1.6.1/qtools/qglobal.h doxygen-1.6.1-working/qtools/qglobal.h  ---- doxygen-1.6.1/qtools/qglobal.h	2008-12-06 13:16:20.000000000 +0000 -+++ doxygen-1.6.1-working/qtools/qglobal.h	2009-11-11 20:58:40.000000000 +0000 -@@ -86,7 +86,10 @@ - #  if !defined(MAC_OS_X_VERSION_10_5) - #       define MAC_OS_X_VERSION_10_5 MAC_OS_X_VERSION_10_4 + 1 - #  endif --#  if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5) -+#  if !defined(MAC_OS_X_VERSION_10_6) -+#       define MAC_OS_X_VERSION_10_6 MAC_OS_X_VERSION_10_5 + 1 -+#  endif -+#  if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_6) - #    error "This version of Mac OS X is unsupported" - #  endif - #elif defined(MSDOS) || defined(_MSDOS) || defined(__MSDOS__)  | 
