2013-03-11 06:50:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2013/03/11 10:50:03 espie Exp $
|
2011-11-13 11:07:09 -05:00
|
|
|
|
|
|
|
# Memory hog, stuck for days on the same file during build.
|
2012-04-01 17:02:30 -04:00
|
|
|
# XXX check with different optimizer level? see doc/install.doc
|
2011-11-13 11:07:09 -05:00
|
|
|
NOT_FOR_ARCHS= sh
|
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
|
|
|
|
2012-12-13 09:20:14 -05:00
|
|
|
VERSION= 1.8.2
|
2012-12-23 08:25:11 -05:00
|
|
|
REVISION-gui= 0
|
2005-07-17 04:30:06 -04:00
|
|
|
DISTNAME= doxygen-${VERSION}.src
|
2010-11-04 16:13:10 -04:00
|
|
|
PKGNAME-main= doxygen-${VERSION}
|
2005-07-17 04:30:06 -04:00
|
|
|
FULLPKGNAME-gui=doxygen-gui-${VERSION}
|
2012-04-01 17:02:30 -04:00
|
|
|
CATEGORIES= devel textproc
|
2005-07-17 04:30:06 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.doxygen.org/
|
|
|
|
|
2008-01-06 05:02:59 -05:00
|
|
|
# GPLv2
|
2005-07-17 04:30:06 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2012-04-01 17:02:30 -04:00
|
|
|
MASTER_SITES= http://ftp.stack.nl/pub/users/dimitri/ \
|
|
|
|
ftp://ftp.stack.nl/pub/users/dimitri/
|
2005-07-17 04:30:06 -04:00
|
|
|
|
2011-11-11 06:38:31 -05:00
|
|
|
PSEUDO_FLAVORS= no_gui bootstrap
|
2005-07-17 04:30:06 -04:00
|
|
|
|
2008-01-06 05:02:59 -05:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2005-07-17 04:30:06 -04:00
|
|
|
CONFIGURE_STYLE=simple
|
|
|
|
CONFIGURE_ARGS= --prefix ${WRKINST}${LOCALBASE} \
|
|
|
|
--install /usr/bin/install \
|
2008-01-06 05:02:59 -05:00
|
|
|
--dot ${LOCALBASE}/bin/dot
|
2005-07-17 04:30:06 -04:00
|
|
|
|
2011-10-17 06:24:52 -04:00
|
|
|
MULTI_PACKAGES= -main -gui
|
|
|
|
|
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
.if ${BUILD_PACKAGES:M-gui}
|
2005-07-17 04:30:06 -04:00
|
|
|
CONFIGURE_ARGS+=--with-doxywizard
|
|
|
|
CONFIGURE_ENV= QTDIR=${LOCALBASE}
|
|
|
|
|
2010-11-04 16:13:10 -04:00
|
|
|
MODULES+= x11/qt4
|
2005-07-17 04:30:06 -04:00
|
|
|
.endif
|
2012-08-27 09:50:15 -04:00
|
|
|
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
|
2012-04-03 19:15:23 -04:00
|
|
|
# ld(1) fails
|
|
|
|
CONFIGURE_ARGS+= --english-only
|
|
|
|
.endif
|
2005-07-17 04:30:06 -04:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
BUILD_DEPENDS += devel/bison
|
2010-11-08 08:15:10 -05:00
|
|
|
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}
|
|
|
|
|
2012-12-23 08:25:11 -05:00
|
|
|
WANTLIB-gui= ${COMMON_WANTLIB} ${MODQT_WANTLIB} QtGui QtXml \
|
|
|
|
ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype
|
2010-11-08 08:15:10 -05:00
|
|
|
LIB_DEPENDS-gui=${COMMON_LIB_DEPENDS} ${MODQT_LIB_DEPENDS}
|
2011-10-17 06:24:52 -04:00
|
|
|
RUN_DEPENDS-gui=doxygen-${VERSION}:${BUILD_PKGPATH}
|
2006-11-26 12:43:44 -05:00
|
|
|
|
2005-07-17 04:30:06 -04:00
|
|
|
|
2010-11-08 08:15:10 -05:00
|
|
|
MAKE_FLAGS+= CXX=${CXX} CC=${CC} \
|
|
|
|
_CFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
2005-07-17 04:30:06 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2010-11-04 16:13:10 -04:00
|
|
|
FAKE_FLAGS+= DESTDIR=
|
2005-07-17 04:30:06 -04:00
|
|
|
WRKDIST= ${WRKDIR}/doxygen-${VERSION}
|
|
|
|
|
2013-03-11 06:50:00 -04:00
|
|
|
NO_TEST= Yes
|
2005-07-17 04:30:06 -04:00
|
|
|
VMEM_WARNING= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|