ddae4e92d8
Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
PORTNAME= doxygen
|
|
PORTVERSION= 1.9.5
|
|
PORTEPOCH= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/rel-${PORTVERSION} \
|
|
http://doxygen.nl/files/
|
|
EXTRACT_SUFX= .src.tar.gz
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= Documentation system for C, C++, and other languages
|
|
WWW= https://www.doxygen.org/
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= bison cmake:noninja compiler:c++17-lang cpe dos2unix \
|
|
iconv python shebangfix
|
|
|
|
ALL_TARGET= all
|
|
CMAKE_ARGS+= -DDOC_INSTALL_DIR:PATH=${DOCSDIR_REL}
|
|
|
|
EXTRACT_AFTER_ARGS= --exclude '*/libmd5'
|
|
|
|
DOS2UNIX_FILES= doc/translator.py
|
|
PLIST_FILES= bin/doxygen
|
|
|
|
OPTIONS_DEFINE= DOCS GRAPHVIZ LATEX SEARCH QT5
|
|
OPTIONS_DEFAULT= GRAPHVIZ
|
|
QT5_DESC= Install Doxywizard GUI with Qt5
|
|
SEARCH_DESC= Build external search tools (doxysearch and doxyindexer)
|
|
|
|
DOCS_USES= ghostscript:build
|
|
DOCS_USE= TEX=base:build,dvipsk:build,pdftex:build
|
|
DOCS_ALL_TARGET= docs
|
|
DOCS_BUILD_DEPENDS= dot:graphics/graphviz
|
|
DOCS_CMAKE_BOOL= build_doc
|
|
DOCS_PLIST_FILES= man/man1/doxygen.1.gz \
|
|
man/man1/doxyindexer.1.gz \
|
|
man/man1/doxysearch.1.gz \
|
|
man/man1/doxywizard.1.gz
|
|
# Parallel jobs break when the DOCS option is on
|
|
DOCS_VARS= MAKE_JOBS_UNSAFE=yes
|
|
|
|
PORTDOCS= *
|
|
|
|
GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz
|
|
|
|
LATEX_USE= TEX=base,dvipsk,pdftex
|
|
|
|
QT5_USES= qt:5
|
|
QT5_USE= QT=core,widgets,gui,xml,qmake:build,buildtools:build
|
|
QT5_CMAKE_BOOL= build_wizard
|
|
QT5_PLIST_FILES= bin/doxywizard
|
|
|
|
SEARCH_CMAKE_BOOL= build_search
|
|
SEARCH_LIB_DEPENDS= libxapian.so:databases/xapian-core
|
|
SEARCH_PLIST_FILES= bin/doxyindexer \
|
|
bin/doxysearch.cgi
|
|
|
|
.include <bsd.port.mk>
|