Doxygen version 1.6.1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    doxygen  most recent diff


    version 1.6.1

      View the most recent changes for the doxygen port at: doxygen.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for doxygen.
      The raw portfile for doxygen 1.6.1 is located here:
      http://doxygen.darwinports.com/dports/textproc/doxygen/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/doxygen


      The doxygen Portfile 57697 2009-09-15 08:30:30Z css macports.org $

      PortSystem 1.0

      Name: doxygen
      Version: 1.6.1
      Category: textproc devel
      Maintainers: css
      Description: Documentation system for several programming languages
      Long Description: It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual from a set of documented source files. There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The documentation is extracted directly from the sources, which makes it much easier to keep the documentation consistent with the source code. You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions. You can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically.

      Platform: darwin

      Homepage: http://www.doxygen.org/
      Master Sites: ftp://ftp.stack.nl/pub/users/dimitri/
      distfiles ${distname}.src${extract.suffix}

      Checksums: md5 2ec343643e134f0d3ce2069420bcb4f0 sha1 31f861841eba1ebdded1b4bf70bdecb42441dafd rmd160 0a9c5962dbd076bac418b85b72a4874576c9da4d

      depends_build-append bin:perl:perl5 bin:flex:flex bin:bison:bison bin:ginstall:coreutils
      depends_lib port:libpng path:bin/dot:graphviz port:libiconv

      universal_variant no

      configure.pre_args --prefix ${prefix}
      configure.args --docdir ${prefix}/share/doc --dot ${prefix}/bin/dot

      post-patch {
      # ensure correct compilers and compiler options are used
      reinplace "/^TMAKE_CC\[\[:space:\]\]/s%=.*%= ${configure.cc} ${configure.cppflags}%" ${tmake_conf}
      reinplace "/^TMAKE_CXX\[\[:space:\]\]/s%=.*%= ${configure.cxx} ${configure.cppflags}%" ${tmake_conf}
      reinplace "/^TMAKE_LINK\[\[:space:\]\]/s%=.*%= ${configure.cxx} ${configure.ldflags}%" ${tmake_conf}
      reinplace "/^TMAKE_LINK_SHLIB\[\[:space:\]\]/s%=.*%= ${configure.cxx}%" ${tmake_conf}

      # may not be strictly necessary, but remove trailing '/' from DESTDIR
      reinplace "s|\$(DESTDIR)/|\$(DESTDIR)|g" ${worksrcpath}/Makefile.in
      }

      build.target all

      destroot.target install
      destroot.args INSTALL=${prefix} DOCDIR=${prefix}/share/doc/doxygen MAN1DIR=share/man/man1

      Variant: docs description {Include the doxygen PDF documentation and LaTeX} {
      build.target-append pdf
      destroot.target-append install_docs
      depends_build-append bin:pdflatex:texlive bin:gs:ghostscript
      }

      Variant: wizard description {Include the GUI wizard based on Qt} {
      configure.env-append QTDIR=${prefix}/libexec/qt4-mac
      build.env-append QTDIR=${prefix}/libexec/qt4-mac
      depends_lib-append port:qt4-mac
      configure.args-append --with-doxywizard

      # on Macs, qmake builds .app directories
      patchfiles-append patch-Makfile.in.diff

      post-patch {
      # give doxywizard the more mac-like name of DoxyWizard
      reinplace "/^TARGET\[\[:space:\]\]/s%=.*%= DoxyWizard%" ${worksrcpath}/addon/doxywizard/doxywizard.pro.in

      reinplace "s|__APPLICATIONS_DIR__|${applications_dir}|" ${worksrcpath}/addon/doxywizard/Makefile.in
      reinplace "s|\$(INSTALL)|\$(DESTDIR)\$(INSTALL)|g" ${worksrcpath}/addon/doxywizard/Makefile.in
      }

      post-destroot {
      # allow doxywizard to be called from the command line
      ln -s ${applications_dir}/DoxyWizard.app/Contents/MacOS/DoxyWizard ${destroot}${prefix}/bin/doxywizard
      }
      }

      platform darwin {
      # Specify the platform explicitly to avoid a universal build.
      global tmake_conf

      if { ![variant_isset universal] } {
      set tmake_conf ${worksrcpath}/tmake/lib/macosx-c++/tmake.conf
      configure.args-append --platform macosx-c++
      } else {
      set tmake_conf ${worksrcpath}/tmake/lib/macosx-uni-c++/tmake.conf
      configure.args-append --platform macosx-uni-c++
      }
      }

      platform darwin 10 {
      # Disable invalid "Unsupported OS" error on Snow Leopard
      patchfiles-append patch-qtools_qglobal.h.diff
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/doxygen
      % sudo port install doxygen
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching doxygen
      ---> Verifying checksum for doxygen
      ---> Extracting doxygen
      ---> Configuring doxygen
      ---> Building doxygen with target all
      ---> Staging doxygen into destroot
      ---> Installing doxygen
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using doxygen with these commands:
      %  man doxygen
      % apropos doxygen
      % which doxygen
      % locate doxygen

     Where to find more information:

    Darwin Ports



    Lightbox this page.