2022-06-06 13:49:26 +00:00

52 lines
1.0 KiB
Makefile

# Memory hog, stuck for days on the same file (configoptions.cpp) during build.
# XXX check with different optimizer level? see doc/install.doc
NOT_FOR_ARCHS= m88k sh
BROKEN-alpha= .got subsegment exceeds 64K
COMMENT= source code documentation generator tool
VERSION= 1.9.4
DISTNAME= doxygen-${VERSION}.src
PKGNAME= doxygen-${VERSION}
CATEGORIES= devel textproc
HOMEPAGE= https://www.doxygen.org/
MAINTAINER= Rafael Sadowski <rsadowski@openbsd.org>
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} c iconv m xapian z
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES= https://doxygen.nl/files/
LIB_DEPENDS= converters/libiconv \
databases/xapian-core
MODULES= devel/cmake \
lang/python
MODPY_RUNDEP= No
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
CXXFLAGS+= -mxgot
.endif
BUILD_DEPENDS+= devel/bison \
devel/git
RUN_DEPENDS+= print/ghostscript/gnu \
math/graphviz
CONFIGURE_ARGS+=-Dbuild_doc=ON \
-Dbuild_app=ON \
-Dbuild_search=ON
WRKDIST= ${WRKDIR}/doxygen-${VERSION}
.include <bsd.port.mk>