2007-09-15 22:52:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2007/09/16 02:52:58 merdely Exp $
|
2005-07-17 04:30:06 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT-main= source code documentation generator tool
|
|
|
|
COMMENT-gui= GUI front-end for doxygen
|
2005-07-17 04:30:06 -04:00
|
|
|
|
2006-08-01 18:46:16 -04:00
|
|
|
VERSION= 1.4.7
|
2005-07-17 04:30:06 -04:00
|
|
|
DISTNAME= doxygen-${VERSION}.src
|
2007-05-15 04:27:27 -04:00
|
|
|
PKGNAME-main= doxygen-${VERSION}p1
|
2005-07-17 04:30:06 -04:00
|
|
|
FULLPKGNAME-gui=doxygen-gui-${VERSION}
|
|
|
|
CATEGORIES= devel textproc
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.doxygen.org/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
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= gui
|
|
|
|
FLAVOR?=
|
|
|
|
|
2006-11-26 12:43:44 -05:00
|
|
|
LIB_DEPENDS-main=png.>=4::graphics/png
|
2005-07-17 04:30:06 -04:00
|
|
|
|
|
|
|
WANTLIB= m c stdc++
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=simple
|
|
|
|
CONFIGURE_ARGS= --prefix ${WRKINST}${LOCALBASE} \
|
|
|
|
--install /usr/bin/install \
|
|
|
|
--make /usr/bin/make
|
|
|
|
|
2006-11-26 12:43:44 -05:00
|
|
|
MULTI_PACKAGES= -main
|
2005-07-17 04:30:06 -04:00
|
|
|
.if ${FLAVOR:Mgui}
|
|
|
|
CONFIGURE_ARGS+=--with-doxywizard
|
|
|
|
CONFIGURE_ENV= QTDIR=${LOCALBASE}
|
|
|
|
|
|
|
|
MODULES= x11/qt3
|
|
|
|
|
2006-11-26 12:43:44 -05:00
|
|
|
MULTI_PACKAGES+=-gui
|
2005-07-17 04:30:06 -04:00
|
|
|
.endif
|
|
|
|
|
2006-11-26 12:43:44 -05:00
|
|
|
WANTLIB-gui= ${WANTLIB} X11 Xext pthread
|
|
|
|
LIB_DEPENDS-gui=${MODQT_LIB_DEPENDS}
|
|
|
|
RUN_DEPENDS-gui=:doxygen-${VERSION}:${BUILD_PKGPATH}
|
|
|
|
|
|
|
|
WANTLIB-main= ${WANTLIB} z
|
2005-07-17 04:30:06 -04:00
|
|
|
|
|
|
|
MAKE_FLAGS+= CXX=${CXX} CC=${CC} _CFLAGS="${CXXFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
WRKDIST= ${WRKDIR}/doxygen-${VERSION}
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
VMEM_WARNING= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|