jca 4ea50190a7 Update to doxygen-1.8.11 (latest)
This switches doxygen to the cmake build system.

All the hard work done by Rafael Sadowski, thanks!

Bulk build and ok ajacoutot@
2016-03-01 20:36:39 +00:00

62 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.33 2016/03/01 20:36:40 jca Exp $
# 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-main= source code documentation generator tool
COMMENT-gui= GUI front-end for doxygen
VERSION= 1.8.11
DISTNAME= doxygen-${VERSION}.src
PKGNAME-main= doxygen-${VERSION}
FULLPKGNAME-gui=doxygen-gui-${VERSION}
CATEGORIES= devel textproc
HOMEPAGE= http://www.doxygen.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://ftp.stack.nl/pub/users/dimitri/ \
ftp://ftp.stack.nl/pub/users/dimitri/
MULTI_PACKAGES= -main -gui
PSEUDO_FLAVORS= no_gui bootstrap
WANTLIB-main += c m pthread stdc++
WANTLIB-gui += QtCore QtGui QtXml ${WANTLIB-main}
COMMON_LIB_DEPENDS= ${MODLIBICONV_LIB_DEPENDS}
LIB_DEPENDS-main= ${COMMON_LIB_DEPENDS}
LIB_DEPENDS-gui= ${COMMON_LIB_DEPENDS} ${MODQT_LIB_DEPENDS}
RUN_DEPENDS-gui= doxygen-${VERSION}:${BUILD_PKGPATH}
MODULES = devel/cmake \
converters/libiconv
.include <bsd.port.arch.mk>
.if ${BUILD_PACKAGES:M-gui}
CONFIGURE_ARGS+=-Dbuild_wizard:Bool=ON
MODULES+= x11/qt4
.endif
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
# ld(1) fails
CONFIGURE_ARGS+=-Denglish_only:Bool=ON
.endif
BUILD_DEPENDS+= devel/bison
RUN_DEPENDS+= print/ghostscript/gnu \
math/graphviz
CONFIGURE_ARGS+=-Dbuild_doc:Bool=ON
WRKDIST= ${WRKDIR}/doxygen-${VERSION}
NO_TEST= Yes
.include <bsd.port.mk>