pkgsrc/devel/doxygen/Makefile

80 lines
2.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.86 2011/11/01 06:00:54 sbd Exp $
2010-06-02 06:17:02 +02:00
DISTNAME= doxygen-1.6.3.src
Update to 1.5.7.1: Doxygen Release 1.5.7.1 (release date 5-10-2008) Changes * The dot tool is no longer part of the doxygen package for MacOSX. Please install GraphViz separately and set the dot path to /usr/local/bin New features * Added option DOT_FONTSIZE which allows to set the size of the fonts used in dot generated graphs. Bug fixes * id 554432: Re-added ALPHABETICAL_INDEX option. * id 554379: Fixed internal error for GENERATE_INDEXLOG when GENERATE_HTML was set to NO. * id 554546: Included fix for handling relative includes in the preprocessor. * Included several VHDL fixes related to syntax highlighting, finding class members, and mixing upper and lower case. * Included patch to allow setting DEST_DIR environment variable to determine where to install doxygen. Doxygen Release 1.5.7 (release date 28-9-2008) Changes * The default CSS style sheet has been cleaned up and simplified, thanks to the work done by Quinn Taylor. New features * Added new config options GENERATE_QHP which enables generating .qch (Qt compiled help) file via the Qt's qthelpgenerator tool (part of Qt 4.4+). This type of files can be read with Qt's Assisant to browse the documentation in a similar way as is possible with Microsoft's compiled HTML help (.chm). To further customize the output and run the help generator from within doxygen, the following options are available: QCH_FILE, QHP_NAMESPACE, QHP_VIRTUAL_FOLDER, QHG_LOCATION. Thanks to Sebastian Pipping for the patch. * Add new option SYMBOL_CACHE_SIZE to allow a different trade off between doxygen's memory usage and the amount of disk accesses. * id 532695: Added 3 new commands: \extends, \implements, and \memberof that allow object oriented constructs to be documented as such for languages that do not support it natively (e.g. C) * Added better support for one line comments after VHDL types. * Added new option LAYOUT_FILE which can be used to specify a layout template file that tells doxygen in which order to generate the output and which titles to use for headings and how the navigation index will look; Read this for more info. As a result the following options are now obsolete since they can now only be controlled via the layout file: DETAILS_AT_TOP, ALPHABETICAL_INDEX. The following options can also be set via the layout file, but for convenience and backward compatibility reasons they are still also part of the configuration file: SHOW_INCLUDE_FILES, SHOW_USED_FILES, CLASS_GRAPH, COLLABORATION_GRAPH, GROUP_GRAPHS, INCLUDE_GRAPH, INCLUDED_BY_GRAPH. Run doxygen with the -l option to generate the default layout file. * Included update for the Macedonian, Catalan, Brazilian, and Serbian translation and also support for Serbian with Cyrilic characters. Bug fixes (ids refer to the bugzilla database) * id 140264, 332187, 541924: Sections inside a \subpage where not shown as subsection in the LaTeX/RTF output. * id 155098,156188: Added support for UTF-8 special characters in identifiers (which is allowed by e.g. C#). * id 304598: operator-- caused invalid HTML output. * id 324047: parameter type [in or out] were not generated in RTF document * id 363499: @todo and friends did not work in a comment marked with @dir. * id 445485: HTML commands in a comment block with attribute values without quotes were not handled properly. * id 533855: Processes were always documented as anonymous in VHDL code. * id 535379: Added support for %{...%} blocks in XPCOM's IDL. * id 536298: Last port in a VHDL port list was not correctly put in a member group. * id 536385: Fixed problem matching function prototype and implementation under certain conditions. * id 536629: Fixed compilation issue on NetBSD. * id 537393: Properties in Python were not properly handled. * id 538065: Added support for @optional and @required in Objective C 2.0 protocols. * id 538239: Some unlabeled VHDL processes were not corrected detected. * id 538515: Deriving a Objective-C interface from a protocol caused parsing problems if the interface also has a body. * id 539057: Part of an Objective-C expression could be missing in the source browser under certain conditions. * id 539590: Generic C# classes with the same name but different template arguments were no longer treated as different classes. * id 539712: Fixed code parser issue for parameter indices of procedures and functions. * id 540058: Creator code was wrong in the MacOSX application bundle. * id 540372: Fixed problem parsing large table by increasing YY_READ_BUF_SIZE in the generated parser files. * id 540247: Fixed potential memory corruption issue parsing VHDL. * id 541113: Fixed locale for ctype, to avoid stripping of 0xA0 from multi-byte UTF-8 characters. * id 544479: SORT_MEMBER_DOCS did not work for class members. * id 546621: Fixed makefile so that .svn stuff is removed from the tarball when doing "make archive". * id 546812: Using a table with row span greater than 1 did not produce correct LaTeX output. * id 545098: Fixed problem parsing where clauses in combination with C# generics. * id 545503: Nameless parameters of type "struct A" could end up wrongly in the XML output. * id 545970: Refering to the main page did not work as advertised. * id 546158: The variable defined inside a foreach statement in C# code was not considered for source linking, cause potentially incomplete call graphs. * id 547361: Linking to specialized template functions did not work. * id 548175: Fixed problem parsing class members within a class X, inside a namespace that is also named X. * id 548443: Documenting a nested namespace/classes with @namespace X.Y did not work for C# (only X::Y worked). * id 548489: C++/CLI classes of type sealed abstract were not processed correctly. * id 549318: Some headings in the user manual where wrongly formatted. * id 549581: Fixed potential buffer overflow in preprocessor. * id 550058: Obj-C: properties for private fields did not appear in the output unless EXTRACT_PRIVATE was enabled. * id 550156: Corrected typo in the documentation for GENERATE_TREEVIEW. * id 550247: Fixed problem parsing octal character literals in the preprocessing phase. * id 551739: Related function with explicit namespace scope was not properly placed if the function also existed in the global namespace. * id 552115: Anonymous structs and unions could produce invalid links in the html help index. * id 552361: Fixed problem with operators in the LaTeX output. * id 552600: \copybrief ended a brief description instead of appending to it. * id 553469: Removed bogus warning about internal inconsistency when importing items via a tagfiles that are inside an undocumented scope. * id 553616: One can now remove the automatic line breaks in the type part of a declaration by using a custom stylesheet with BR.typebreak { display: none; } * id 553663: Aliases did not work in Fortan comments. * id 549022: Reimplemented in links could be wrong in case of overloaded members. * id 553225: Parser was confused by arrays inside an Obj-C message. * Finnish translation was disabled. * A collaboration graph with multiple edge labels with not written to the XML output correctly. * sub pages of a \mainpage were not shown in the Latex/RTF output. * Included some fixed for the VHDL parser.
2008-11-11 01:44:12 +01:00
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 7
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
2007-09-23 19:49:08 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
UNLIMIT_RESOURCES+= datasize
2008-06-07 16:32:36 +02:00
USE_TOOLS+= gmake gs:run perl:run bison flex
update to Doxygen Release 1.3.7 - ok'd by groo@ Changes * The \param command now has an optional input and/or output attribute. The syntax for an input & output parameter is for example: \param[in,out] name Description. New features * Added new option CREATE_SUBDIRS which when enabled makes doxygen distribute the generated output evenly over 100 subdirectories. * Added support for Qt's properties (i.e. Q_PROPERTY) which can be documented by putting a documentation block in front of the macro or by using a comment block with the new \property command. * Added new commands \manonly and \endmanonly to enter man page specific text and commands in the generated man pages (thanks to Carsten Stiborg). * Included new python based translation report script, which now replaces the old perl based version (thanks to Petr Prikryl). * Improved parser to also support parsing of Objective-C implementation files. * Added new config option EXTRACT_LOCAL_METHODS which can be used for Objective-C code to extract methods definition in the implementation section that are not present in the interface. * Added new config option STRIP_FROM_INC_PATH which allows to specify a list of paths that, if matched, will be striped from the #include statement in the generated documentation of a class. * Added new command \includelineno with works as \include except it will add line numbers to the code (thanks to Giancarlo Niccolai for the patch). * Added BeOS support, thanks to a patch by Mark Hellegers. * Included update for the French translation, thanks to Jacques Bouchard. And many bug fixes. For a complete list see: http://www.stack.nl/~dimitri/doxygen/changelog.html
2004-05-10 02:15:49 +02:00
USE_LANGUAGES= c c++
HAS_CONFIGURE= yes
Changes 1.4.0: * In the HTML help output (.chm files) the index items with only one subitem are now collapsed into one item * Some minor tweaks to the style sheet * @relates can now not only be used for functions, but also for other members * Static members do have have explicit "static" in the declaration part of the documentation * typedefs and enumeration are no longer shown in the "referenced by" list as these are types * Make configure script use solaris-g++ by default (Sun's own compiler generates faulty code for doxygen) * Included language update for Serbian, German, and Korean * For directories dependency graphs are now generated * Added \cond and \endcond commands, which can be used to (conditionally) exclude a part of a file. See the manual for an example * Added "-d ExtCmd" debug option, which when used shows what doxygen will execute when invoking an external command (such as dot) * New option WARN_NO_PARAMDOC that warns about the absence of function parameter or return type documentation * Nested classes are now listed in their containing class * Extended the \f command to support different environments, i.e. \f{eqnarray*} for equation arrays. The end command is \f} * Added support for group dependency graphs * New option DOT_TRANSPARENT to enable dot graph with a transparent background * New option FILE_VERSION_FILTER which allows an external tool to provide version information per file, which is then used in the file documentation * id 162295: New option DOT_MULTI_TARGETS which when set to YES, will run dot with multiple output files if possible * Bug fixes
2005-01-06 11:38:16 +01:00
CONFIGURE_ARGS+= --make ${GMAKE}
update to Doxygen Release 1.3.7 - ok'd by groo@ Changes * The \param command now has an optional input and/or output attribute. The syntax for an input & output parameter is for example: \param[in,out] name Description. New features * Added new option CREATE_SUBDIRS which when enabled makes doxygen distribute the generated output evenly over 100 subdirectories. * Added support for Qt's properties (i.e. Q_PROPERTY) which can be documented by putting a documentation block in front of the macro or by using a comment block with the new \property command. * Added new commands \manonly and \endmanonly to enter man page specific text and commands in the generated man pages (thanks to Carsten Stiborg). * Included new python based translation report script, which now replaces the old perl based version (thanks to Petr Prikryl). * Improved parser to also support parsing of Objective-C implementation files. * Added new config option EXTRACT_LOCAL_METHODS which can be used for Objective-C code to extract methods definition in the implementation section that are not present in the interface. * Added new config option STRIP_FROM_INC_PATH which allows to specify a list of paths that, if matched, will be striped from the #include statement in the generated documentation of a class. * Added new command \includelineno with works as \include except it will add line numbers to the code (thanks to Giancarlo Niccolai for the patch). * Added BeOS support, thanks to a patch by Mark Hellegers. * Included update for the French translation, thanks to Jacques Bouchard. And many bug fixes. For a complete list see: http://www.stack.nl/~dimitri/doxygen/changelog.html
2004-05-10 02:15:49 +02:00
CONFIGURE_ARGS+= --perl ${PERL5}
CONFIGURE_ARGS+= --install ${INSTALL}
update to Doxygen Release 1.3.7 - ok'd by groo@ Changes * The \param command now has an optional input and/or output attribute. The syntax for an input & output parameter is for example: \param[in,out] name Description. New features * Added new option CREATE_SUBDIRS which when enabled makes doxygen distribute the generated output evenly over 100 subdirectories. * Added support for Qt's properties (i.e. Q_PROPERTY) which can be documented by putting a documentation block in front of the macro or by using a comment block with the new \property command. * Added new commands \manonly and \endmanonly to enter man page specific text and commands in the generated man pages (thanks to Carsten Stiborg). * Included new python based translation report script, which now replaces the old perl based version (thanks to Petr Prikryl). * Improved parser to also support parsing of Objective-C implementation files. * Added new config option EXTRACT_LOCAL_METHODS which can be used for Objective-C code to extract methods definition in the implementation section that are not present in the interface. * Added new config option STRIP_FROM_INC_PATH which allows to specify a list of paths that, if matched, will be striped from the #include statement in the generated documentation of a class. * Added new command \includelineno with works as \include except it will add line numbers to the code (thanks to Giancarlo Niccolai for the patch). * Added BeOS support, thanks to a patch by Mark Hellegers. * Included update for the French translation, thanks to Jacques Bouchard. And many bug fixes. For a complete list see: http://www.stack.nl/~dimitri/doxygen/changelog.html
2004-05-10 02:15:49 +02:00
CONFIGURE_ARGS+= --dot ${PREFIX}/bin/dot
CONFIGURE_ARGS+= --prefix ${PREFIX}
Update to 1.5.7.1: Doxygen Release 1.5.7.1 (release date 5-10-2008) Changes * The dot tool is no longer part of the doxygen package for MacOSX. Please install GraphViz separately and set the dot path to /usr/local/bin New features * Added option DOT_FONTSIZE which allows to set the size of the fonts used in dot generated graphs. Bug fixes * id 554432: Re-added ALPHABETICAL_INDEX option. * id 554379: Fixed internal error for GENERATE_INDEXLOG when GENERATE_HTML was set to NO. * id 554546: Included fix for handling relative includes in the preprocessor. * Included several VHDL fixes related to syntax highlighting, finding class members, and mixing upper and lower case. * Included patch to allow setting DEST_DIR environment variable to determine where to install doxygen. Doxygen Release 1.5.7 (release date 28-9-2008) Changes * The default CSS style sheet has been cleaned up and simplified, thanks to the work done by Quinn Taylor. New features * Added new config options GENERATE_QHP which enables generating .qch (Qt compiled help) file via the Qt's qthelpgenerator tool (part of Qt 4.4+). This type of files can be read with Qt's Assisant to browse the documentation in a similar way as is possible with Microsoft's compiled HTML help (.chm). To further customize the output and run the help generator from within doxygen, the following options are available: QCH_FILE, QHP_NAMESPACE, QHP_VIRTUAL_FOLDER, QHG_LOCATION. Thanks to Sebastian Pipping for the patch. * Add new option SYMBOL_CACHE_SIZE to allow a different trade off between doxygen's memory usage and the amount of disk accesses. * id 532695: Added 3 new commands: \extends, \implements, and \memberof that allow object oriented constructs to be documented as such for languages that do not support it natively (e.g. C) * Added better support for one line comments after VHDL types. * Added new option LAYOUT_FILE which can be used to specify a layout template file that tells doxygen in which order to generate the output and which titles to use for headings and how the navigation index will look; Read this for more info. As a result the following options are now obsolete since they can now only be controlled via the layout file: DETAILS_AT_TOP, ALPHABETICAL_INDEX. The following options can also be set via the layout file, but for convenience and backward compatibility reasons they are still also part of the configuration file: SHOW_INCLUDE_FILES, SHOW_USED_FILES, CLASS_GRAPH, COLLABORATION_GRAPH, GROUP_GRAPHS, INCLUDE_GRAPH, INCLUDED_BY_GRAPH. Run doxygen with the -l option to generate the default layout file. * Included update for the Macedonian, Catalan, Brazilian, and Serbian translation and also support for Serbian with Cyrilic characters. Bug fixes (ids refer to the bugzilla database) * id 140264, 332187, 541924: Sections inside a \subpage where not shown as subsection in the LaTeX/RTF output. * id 155098,156188: Added support for UTF-8 special characters in identifiers (which is allowed by e.g. C#). * id 304598: operator-- caused invalid HTML output. * id 324047: parameter type [in or out] were not generated in RTF document * id 363499: @todo and friends did not work in a comment marked with @dir. * id 445485: HTML commands in a comment block with attribute values without quotes were not handled properly. * id 533855: Processes were always documented as anonymous in VHDL code. * id 535379: Added support for %{...%} blocks in XPCOM's IDL. * id 536298: Last port in a VHDL port list was not correctly put in a member group. * id 536385: Fixed problem matching function prototype and implementation under certain conditions. * id 536629: Fixed compilation issue on NetBSD. * id 537393: Properties in Python were not properly handled. * id 538065: Added support for @optional and @required in Objective C 2.0 protocols. * id 538239: Some unlabeled VHDL processes were not corrected detected. * id 538515: Deriving a Objective-C interface from a protocol caused parsing problems if the interface also has a body. * id 539057: Part of an Objective-C expression could be missing in the source browser under certain conditions. * id 539590: Generic C# classes with the same name but different template arguments were no longer treated as different classes. * id 539712: Fixed code parser issue for parameter indices of procedures and functions. * id 540058: Creator code was wrong in the MacOSX application bundle. * id 540372: Fixed problem parsing large table by increasing YY_READ_BUF_SIZE in the generated parser files. * id 540247: Fixed potential memory corruption issue parsing VHDL. * id 541113: Fixed locale for ctype, to avoid stripping of 0xA0 from multi-byte UTF-8 characters. * id 544479: SORT_MEMBER_DOCS did not work for class members. * id 546621: Fixed makefile so that .svn stuff is removed from the tarball when doing "make archive". * id 546812: Using a table with row span greater than 1 did not produce correct LaTeX output. * id 545098: Fixed problem parsing where clauses in combination with C# generics. * id 545503: Nameless parameters of type "struct A" could end up wrongly in the XML output. * id 545970: Refering to the main page did not work as advertised. * id 546158: The variable defined inside a foreach statement in C# code was not considered for source linking, cause potentially incomplete call graphs. * id 547361: Linking to specialized template functions did not work. * id 548175: Fixed problem parsing class members within a class X, inside a namespace that is also named X. * id 548443: Documenting a nested namespace/classes with @namespace X.Y did not work for C# (only X::Y worked). * id 548489: C++/CLI classes of type sealed abstract were not processed correctly. * id 549318: Some headings in the user manual where wrongly formatted. * id 549581: Fixed potential buffer overflow in preprocessor. * id 550058: Obj-C: properties for private fields did not appear in the output unless EXTRACT_PRIVATE was enabled. * id 550156: Corrected typo in the documentation for GENERATE_TREEVIEW. * id 550247: Fixed problem parsing octal character literals in the preprocessing phase. * id 551739: Related function with explicit namespace scope was not properly placed if the function also existed in the global namespace. * id 552115: Anonymous structs and unions could produce invalid links in the html help index. * id 552361: Fixed problem with operators in the LaTeX output. * id 552600: \copybrief ended a brief description instead of appending to it. * id 553469: Removed bogus warning about internal inconsistency when importing items via a tagfiles that are inside an undocumented scope. * id 553616: One can now remove the automatic line breaks in the type part of a declaration by using a custom stylesheet with BR.typebreak { display: none; } * id 553663: Aliases did not work in Fortan comments. * id 549022: Reimplemented in links could be wrong in case of overloaded members. * id 553225: Parser was confused by arrays inside an Obj-C message. * Finnish translation was disabled. * A collaboration graph with multiple edge labels with not written to the XML output correctly. * sub pages of a \mainpage were not shown in the Latex/RTF output. * Included some fixed for the VHDL parser.
2008-11-11 01:44:12 +01:00
CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc/doxygen
MAKE_ENV+= PKGSRC_CFLAGS=${CFLAGS:Q}
2006-10-21 22:20:49 +02:00
MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
update to Doxygen Release 1.3.7 - ok'd by groo@ Changes * The \param command now has an optional input and/or output attribute. The syntax for an input & output parameter is for example: \param[in,out] name Description. New features * Added new option CREATE_SUBDIRS which when enabled makes doxygen distribute the generated output evenly over 100 subdirectories. * Added support for Qt's properties (i.e. Q_PROPERTY) which can be documented by putting a documentation block in front of the macro or by using a comment block with the new \property command. * Added new commands \manonly and \endmanonly to enter man page specific text and commands in the generated man pages (thanks to Carsten Stiborg). * Included new python based translation report script, which now replaces the old perl based version (thanks to Petr Prikryl). * Improved parser to also support parsing of Objective-C implementation files. * Added new config option EXTRACT_LOCAL_METHODS which can be used for Objective-C code to extract methods definition in the implementation section that are not present in the interface. * Added new config option STRIP_FROM_INC_PATH which allows to specify a list of paths that, if matched, will be striped from the #include statement in the generated documentation of a class. * Added new command \includelineno with works as \include except it will add line numbers to the code (thanks to Giancarlo Niccolai for the patch). * Added BeOS support, thanks to a patch by Mark Hellegers. * Included update for the French translation, thanks to Jacques Bouchard. And many bug fixes. For a complete list see: http://www.stack.nl/~dimitri/doxygen/changelog.html
2004-05-10 02:15:49 +02:00
PLIST_VARS+= ci cs
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'
2009-09-22 22:11:45 +02:00
PRIVILEGED_STAGES+= clean
# Just install the binary and the man page. (If the latex option
# is enabled, this target will be augmented.)
INSTALL_TARGET= install
2007-09-23 19:49:08 +02:00
.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"
update to Doxygen Release 1.3.7 - ok'd by groo@ Changes * The \param command now has an optional input and/or output attribute. The syntax for an input & output parameter is for example: \param[in,out] name Description. New features * Added new option CREATE_SUBDIRS which when enabled makes doxygen distribute the generated output evenly over 100 subdirectories. * Added support for Qt's properties (i.e. Q_PROPERTY) which can be documented by putting a documentation block in front of the macro or by using a comment block with the new \property command. * Added new commands \manonly and \endmanonly to enter man page specific text and commands in the generated man pages (thanks to Carsten Stiborg). * Included new python based translation report script, which now replaces the old perl based version (thanks to Petr Prikryl). * Improved parser to also support parsing of Objective-C implementation files. * Added new config option EXTRACT_LOCAL_METHODS which can be used for Objective-C code to extract methods definition in the implementation section that are not present in the interface. * Added new config option STRIP_FROM_INC_PATH which allows to specify a list of paths that, if matched, will be striped from the #include statement in the generated documentation of a class. * Added new command \includelineno with works as \include except it will add line numbers to the code (thanks to Giancarlo Niccolai for the patch). * Added BeOS support, thanks to a patch by Mark Hellegers. * Included update for the French translation, thanks to Jacques Bouchard. And many bug fixes. For a complete list see: http://www.stack.nl/~dimitri/doxygen/changelog.html
2004-05-10 02:15:49 +02:00
.include "../../graphics/graphviz/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"