1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

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.
This commit is contained in:
Alan Eldridge 2002-10-23 14:16:11 +00:00
parent eb535fb4a7
commit 82101dba57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68658
2 changed files with 19 additions and 0 deletions

View File

@ -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)

View File

@ -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