[40482] trunk/dports/textproc/doxygen/Portfile

css at macports.org css at macports.org
Fri Oct 3 05:25:15 PDT 2008


Revision: 40482
          http://trac.macports.org/changeset/40482
Author:   css at macports.org
Date:     2008-10-03 05:25:14 -0700 (Fri, 03 Oct 2008)
Log Message:
-----------
Simplify the default doxygen installation by not generating its PDF documentation file, thus removing the explicit dependencies on texlive and ghostscript. This makes for a much lighter installation process, and the PDF may be generated using the docs variant. see #14421

Modified Paths:
--------------
    trunk/dports/textproc/doxygen/Portfile

Modified: trunk/dports/textproc/doxygen/Portfile
===================================================================
--- trunk/dports/textproc/doxygen/Portfile	2008-10-03 10:35:45 UTC (rev 40481)
+++ trunk/dports/textproc/doxygen/Portfile	2008-10-03 12:25:14 UTC (rev 40482)
@@ -4,6 +4,7 @@
 
 name			doxygen
 version			1.5.7
+revision		1
 categories		textproc devel
 maintainers		css at macports.org
 description		Documentation system for several programming languages
@@ -31,9 +32,8 @@
 			sha1 91a35d0ff0e5d19c8f0362999c305ed640c9ba92 \
 			rmd160 13c4872d49c9d4b178934fe93d02f6ed5e358bee
 
-depends_lib		path:${prefix}/bin/pdflatex:texlive \
-			bin:gs:ghostscript lib:libpng:libpng \
-			bin:dot:graphviz bin:ginstall:coreutils port:libiconv
+depends_lib		lib:libpng:libpng bin:dot:graphviz \
+			bin:ginstall:coreutils port:libiconv
 
 # setup to work smoothly with Qt3
 post-patch {
@@ -53,14 +53,21 @@
 configure.env		QTDIR=${prefix}
 
 build.env		QTDIR=${prefix}
-build.target		all pdf
+build.target		all
 
-destroot.target		install install_docs
+destroot.target		install
 destroot.args		INSTALL=${destroot}${prefix} \
 			DOCDIR=${destroot}${prefix}/share/doc/doxygen \
 			MAN1DIR=share/man/man1
 
-variant wizard {
+variant docs description {Include the doxygen PDF documentation and LaTeX} {
+	build.target-append	pdf
+	destroot.target-append	inistall_docs
+	depends-lib-append	path:${prefix}/bin/pdflatex:texlive \
+				bin:gs:ghostscript
+}
+
+variant wizard description {Include the GUI wizard based on Qt} {
 	depends_lib-append	lib:libqt-mt:qt3
 	configure.args-append	--with-doxywizard
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081003/12930234/attachment.html 


More information about the macports-changes mailing list