40ff6b97b6
Changes Expanding the tree in an index page of the HTML output, will now expand only one level instead of the whole sub-tree (thanks to Pez Cuckow for the patch). A blockquote in Markdown does no longer require a whitespace after the last '>' if the '>' is followed by a newline. id 682718: Included patch to add version info to all generated template files (headers, footers, stylesheets, layout files, etc). New features Added support for using external tools to index and search through the HTML documentation. An example index tool is provided (doxyindexer) and an example search engine (doxysearch.cgi). To configure the external search engine the following new options are added to the configuration file: EXTERNAL_SEARCH (to enable the feature), SEARCHENGINE_URL (to specify the URL of the search engine), SEARCHDATA_FILE (to specify the name of the raw search data to index), EXTRA_SEARCH_MAPPINGS (for search through multiple projects). See the manual for details. Added USE_MDFILE_AS_MAINPAGE config option to select a markdown page to be used as the main page. id 630645: This patch (contributed by Albert) adds support for simple logic expressions for \cond, \if, and friends, i.e. you can do \if (SOME_SECTION_NAME && (!THIS_ALTERNATIVE || THAT_ALTERNATIVE)) id 684152: Patch (contributed by Albert) adds a new configuration option MATHJAX_FORMAT to select the MathJax output format. Options are HTML-CSS, NativeMML, or SVG.
84 lines
2.4 KiB
Makefile
84 lines
2.4 KiB
Makefile
# $NetBSD: Makefile,v 1.95 2013/01/06 01:00:58 wiz Exp $
|
|
|
|
DISTNAME= doxygen-1.8.3.src
|
|
PKGNAME= ${DISTNAME:S/.src//}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \
|
|
http://ftp.stack.nl/pub/users/dimitri/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.doxygen.org/
|
|
COMMENT= Documentation system for C++, Java, IDL and C
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
UNLIMIT_RESOURCES+= datasize
|
|
USE_TOOLS+= gmake gs:run perl:run bison flex
|
|
USE_LANGUAGES= c c++
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --make ${GMAKE}
|
|
CONFIGURE_ARGS+= --perl ${PERL5}
|
|
CONFIGURE_ARGS+= --install ${INSTALL}
|
|
CONFIGURE_ARGS+= --dot ${PREFIX}/bin/dot
|
|
CONFIGURE_ARGS+= --prefix ${PREFIX}
|
|
CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc/doxygen
|
|
MAKE_ENV+= PKGSRC_CFLAGS=${CFLAGS:Q}
|
|
MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
|
|
|
|
# Case Insensitive fs or Sensitive
|
|
PLIST_VARS+= ci cs
|
|
|
|
# pangocairo: basic ps/pdf support via PKG_BUILD_OPTIONS.graphviz
|
|
PLIST_VARS+= pangocairo nopangocairo
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_STAGE.path= pre-configure
|
|
SUBST_FILES.path= doc/Makefile.in
|
|
SUBST_SED.path= -e "s|@EPSTOPDF@|${LOCALBASE}/bin/epstopdf|g" \
|
|
-e "s|@PYTHONBIN@|${PYTHONBIN}|g"
|
|
|
|
SUBST_CLASSES+= perlbin
|
|
SUBST_STAGE.perlbin= pre-configure
|
|
SUBST_MESSAGE.perlbin= Fixing hardcoded path to the Perl interpreter
|
|
SUBST_FILES.perlbin= examples/tag.cfg
|
|
SUBST_SED.perlbin= -e 's,^PERL_PATH.*,PERL_PATH = ${PERL5},'
|
|
|
|
SUBST_CLASSES+= epstopdf
|
|
SUBST_STAGE.epstopdf= pre-configure
|
|
SUBST_MESSAGE.epstopdf= Fixing path to epstopdf
|
|
SUBST_FILES.epstopdf= src/diagram.cpp src/docparser.cpp src/dot.cpp \
|
|
src/msc.cpp
|
|
SUBST_SED.epstopdf= -e 's,"epstopdf","${LOCALBASE}/bin/epstopdf",g'
|
|
|
|
# Just install the binary and the man page. (If the latex option
|
|
# is enabled, this target will be augmented.)
|
|
INSTALL_TARGET= install
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
PLIST.ci= yes # case-insensitive
|
|
.else
|
|
PLIST.cs= yes # case-sensitive
|
|
.endif
|
|
|
|
.if ${OPSYS} == "DragonFly"
|
|
CONFIGURE_ARGS+= -platform freebsd-g++
|
|
.endif
|
|
|
|
post-patch:
|
|
touch ${WRKSRC}/src/doxytag.l
|
|
|
|
BUILDLINK_API_DEPENDS.graphviz+= graphviz>=2.12nb1
|
|
|
|
.include "options.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../graphics/graphviz/buildlink3.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.graphviz:Mpangocairo)
|
|
PLIST.pangocairo= yes
|
|
.else
|
|
PLIST.nopangocairo= yes
|
|
.endif
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|