aboutsummaryrefslogtreecommitdiff
path: root/devel/doxygen
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-10-23 14:16:11 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-10-23 14:16:11 +0000
commit82101dba570d21550f1ee1732b172ea09407bf54 (patch)
tree7fa041ec76bd6de2cc8249d6a245208f4aac2d5e /devel/doxygen
parenteb535fb4a77eb3e17ae518776beb0f7dcc78bf14 (diff)
downloadports-82101dba570d21550f1ee1732b172ea09407bf54.tar.gz
ports-82101dba570d21550f1ee1732b172ea09407bf54.zip
Notes
Diffstat (limited to 'devel/doxygen')
-rw-r--r--devel/doxygen/Makefile1
-rw-r--r--devel/doxygen/files/patch-doc-Makefile.in18
2 files changed, 19 insertions, 0 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index 2ca7c8a73fcb..4cf4313ce658 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 000000000000..f994ab8590e5
--- /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