# $OpenBSD: Makefile,v 1.17 2011/10/17 10:24:52 espie Exp $ COMMENT-main= source code documentation generator tool COMMENT-gui= GUI front-end for doxygen VERSION= 1.7.2 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 PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ PSEUDO_FLAVORS= no_gui FLAVOR?= no_gui USE_GMAKE= Yes USE_GROFF = Yes MODULES= converters/libiconv CONFIGURE_STYLE=simple CONFIGURE_ARGS= --prefix ${WRKINST}${LOCALBASE} \ --install /usr/bin/install \ --dot ${LOCALBASE}/bin/dot MULTI_PACKAGES= -main -gui .include .if ${BUILD_PACKAGES:M-gui} CONFIGURE_ARGS+=--with-doxywizard CONFIGURE_ENV= QTDIR=${LOCALBASE} MODULES+= x11/qt4 .endif BUILD_DEPENDS += devel/bison COMMON_WANTLIB = c m pthread stdc++ ${MODLIBICONV_WANTLIB} COMMON_LIB_DEPENDS = ${MODLIBICONV_LIB_DEPENDS} WANTLIB-main = ${COMMON_WANTLIB} z LIB_DEPENDS-main = ${COMMON_LIB_DEPENDS} WANTLIB-gui= ${COMMON_WANTLIB} ${MODQT_WANTLIB} QtGui QtXml LIB_DEPENDS-gui=${COMMON_LIB_DEPENDS} ${MODQT_LIB_DEPENDS} RUN_DEPENDS-gui=doxygen-${VERSION}:${BUILD_PKGPATH} MAKE_FLAGS+= CXX=${CXX} CC=${CC} \ _CFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" FAKE_FLAGS+= DESTDIR= WRKDIST= ${WRKDIR}/doxygen-${VERSION} NO_REGRESS= Yes VMEM_WARNING= Yes .include