summaryrefslogtreecommitdiff
path: root/devel/doxygen
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-02-19 11:53:59 +0000
committerjoerg <joerg@pkgsrc.org>2015-02-19 11:53:59 +0000
commit79730ca9fb2f93cf29d58d9624c83177cbd7e890 (patch)
tree18510a13409834771ab73aecb3676d1cf45b884e /devel/doxygen
parentbf9f1575f6c8aaa80110388b223bd71e70472fe2 (diff)
downloadpkgsrc-79730ca9fb2f93cf29d58d9624c83177cbd7e890.tar.gz
With compact latex output, class article is used. That means no
\backmatter. Bump revision.
Diffstat (limited to 'devel/doxygen')
-rw-r--r--devel/doxygen/Makefile3
-rw-r--r--devel/doxygen/patches/patch-src_latexgen.cpp18
2 files changed, 20 insertions, 1 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index 1a333e5973c..ff13a05253b 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.118 2015/01/27 13:49:12 mef Exp $
+# $NetBSD: Makefile,v 1.119 2015/02/19 11:53:59 joerg Exp $
DISTNAME= doxygen-1.8.9.1.src
PKGNAME= ${DISTNAME:S/.src//}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \
http://ftp.stack.nl/pub/users/dimitri/
diff --git a/devel/doxygen/patches/patch-src_latexgen.cpp b/devel/doxygen/patches/patch-src_latexgen.cpp
new file mode 100644
index 00000000000..f9bb37f1329
--- /dev/null
+++ b/devel/doxygen/patches/patch-src_latexgen.cpp
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_latexgen.cpp,v 1.1 2015/02/19 11:53:59 joerg Exp $
+
+--- src/latexgen.cpp.orig 2015-02-18 21:15:46.000000000 +0000
++++ src/latexgen.cpp
+@@ -540,9 +540,10 @@ static void writeDefaultFooter(FTextStre
+ unit = "section";
+ else
+ unit = "chapter";
+- t << "% Index\n"
+- "\\backmatter\n"
+- "\\newpage\n"
++ t << "% Index\n";
++ if (!Config_getBool("COMPACT_LATEX"))
++ t << "\\backmatter\n";
++ t << "\\newpage\n"
+ "\\phantomsection\n"
+ "\\clearemptydoublepage\n"
+ "\\addcontentsline{toc}{" << unit << "}{" << theTranslator->trRTFGeneralIndex() << "}\n"