pkgsrc/devel/doxygen/Makefile
tonio 523b1b568e Adapted to use tex.buildlink3.mk
set LATEX_ACCEPTED = teTeX1 teTeX2 teTeX3
2005-11-08 18:47:07 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2005/11/08 18:47:07 tonio Exp $
DISTNAME= doxygen-1.4.5.src
PKGNAME= doxygen-1.4.5
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.doxygen.org/
COMMENT= Documentation system for C++, Java, IDL and C
LATEX_ACCEPTED= teTeX1 teTeX2 teTeX3
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake perl flex
USE_LANGUAGES= c c++
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --make ${GMAKE}
CONFIGURE_ARGS+= --perl ${PERL5}
CONFIGURE_ARGS+= --install ${INSTALL}
CONFIGURE_ARGS+= --dot ${PREFIX}/bin/dot
CONFIGURE_ARGS+= --prefix ${PREFIX}
CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc
MAKE_ENV+= PKGSRC_CFLAGS="${CFLAGS}"
SUBST_CLASSES+= pybin
SUBST_STAGE.pybin= pre-configure
SUBST_FILES.pybin= doc/Makefile.in
SUBST_SED.pybin= -e "s|@PYTHONBIN@|${PYTHONBIN}|g"
post-patch:
${TOUCH} ${WRKSRC}/src/doxytag.l
post-install:
cd ${WRKSRC} && ${GMAKE} install_docs
.include "../../graphics/graphviz/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/ghostscript.mk"
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"