Index: Portfile
===================================================================
--- Portfile	(revision 65878)
+++ Portfile	(working copy)
@@ -22,8 +22,7 @@
 
 depends_lib		port:freetype
 
-depends_build		bin:doxygen:doxygen \
-			port:gsed
+depends_build		port:gsed
 
 worksrcdir		${name}-${my_version}
 
@@ -34,5 +33,10 @@
 # Skip building the example program by failing to find GLUT
 configure.args		--with-glut-inc=/dev/null --with-glut-lib=/dev/null
 
+variant doc description {build documentation} {
+    depends_build-append    bin:doxygen:doxygen \
+                            bin:pdflatex:teTeX \
+                            port:ImageMagick
+}
 livecheck.version	${my_version}
 livecheck.distname	FTGL Source
