diff options
author | alane <alane@FreeBSD.org> | 2002-10-23 14:16:11 +0000 |
---|---|---|
committer | alane <alane@FreeBSD.org> | 2002-10-23 14:16:11 +0000 |
commit | 42356394d19c382fbe530009609cdad5bc12a9e0 (patch) | |
tree | 2696dda08e0edb6ae497db85c8821644441fd600 /devel/doxygen | |
parent | a3f10c843be05f56567e034d6c6c361b64d14480 (diff) | |
download | FreeBSD-ports-42356394d19c382fbe530009609cdad5bc12a9e0.zip FreeBSD-ports-42356394d19c382fbe530009609cdad5bc12a9e0.tar.gz |
Fix non-LaTeX build (this is a test. I'm not gonna uninstall teTeX to test
this as it takes too long.)
Per request by Kris K.
Diffstat (limited to 'devel/doxygen')
-rw-r--r-- | devel/doxygen/Makefile | 1 | ||||
-rw-r--r-- | devel/doxygen/files/patch-doc-Makefile.in | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile index 2ca7c8a..4cf4313 100644 --- a/devel/doxygen/Makefile +++ b/devel/doxygen/Makefile @@ -27,6 +27,7 @@ BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz ALL_TARGET+= pdf PLIST_SUB+= HAVE_LATEX="" BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX +MAKE_ARGS+= HAVE_LATEX=yes .else # !defined(HAVE_LATEX) PLIST_SUB+= HAVE_LATEX="@comment " .endif # !defined(HAVE_LATEX) diff --git a/devel/doxygen/files/patch-doc-Makefile.in b/devel/doxygen/files/patch-doc-Makefile.in new file mode 100644 index 0000000..f994ab8 --- /dev/null +++ b/devel/doxygen/files/patch-doc-Makefile.in @@ -0,0 +1,18 @@ +--- doc/Makefile.in.orig Mon Jul 8 15:59:59 2002 ++++ doc/Makefile.in Tue Oct 22 23:02:24 2002 +@@ -18,12 +18,14 @@ + VERSION=$(VERSION) ; \ + export VERSION; \ + $(DOXYGEN)/bin/doxygen +- @rm -f ../latex/refman.tex + @cp doxygen_logo*.gif ../html ++ifdef HAVE_LATEX ++ @rm -f ../latex/refman.tex + @cp Makefile.latex ../latex/Makefile + @sed -e "s/\$$VERSION/$(VERSION)/g" doxygen_manual.tex >../latex/doxygen_manual.tex + @sed -e "s/\$$VERSION/$(VERSION)/g" doxygen.sty >../latex/doxygen.sty + @epstopdf doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf ++endif # HAVE_LATEX + + clean: + rm -rf ../html ../latex *.bak translator_report.txt |