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:
parent
eb535fb4a7
commit
82101dba57
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68658
@ -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)
|
||||
|
18
devel/doxygen/files/patch-doc-Makefile.in
Normal file
18
devel/doxygen/files/patch-doc-Makefile.in
Normal 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
|
Loading…
Reference in New Issue
Block a user