blob: 716434f26ec173091691b45aad6d5f7822b131c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# $NetBSD: Makefile,v 1.60 2008/06/07 14:32:36 joerg Exp $
DISTNAME= doxygen-1.5.6.src
PKGNAME= doxygen-1.5.6
CATEGORIES= devel
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \
http://ftp.stack.nl/pub/users/dimitri/
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.doxygen.org/
COMMENT= Documentation system for C++, Java, IDL and C
PKG_DESTDIR_SUPPORT= user-destdir
TEX_ACCEPTED= teTeX3
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake gs:run perl:run bison 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:Q}
MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
PLIST_VARS+= ci cs
.if exists(./descr)
PLIST.ci= yes # case-insensitive
.else
PLIST.cs= yes # case-sensitive
.endif
SUBST_CLASSES+= pybin
SUBST_STAGE.pybin= pre-configure
SUBST_FILES.pybin= doc/Makefile.in
SUBST_SED.pybin= -e "s|@PYTHONBIN@|${PYTHONBIN}|g"
SUBST_CLASSES+= perlbin
SUBST_STAGE.perlbin= pre-configure
SUBST_MESSAGE.perlbin= Fixing hardcoded path to the Perl interpreter
SUBST_FILES.perlbin= examples/tag.cfg
SUBST_SED.perlbin= -e 's,^PERL_PATH.*,PERL_PATH = ${PERL5},'
INSTALL_TARGET= install install_docs
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= -platform freebsd-g++
.endif
post-patch:
touch ${WRKSRC}/src/doxytag.l
BUILDLINK_API_DEPENDS.graphviz+= graphviz>=2.12nb1
.include "../../graphics/graphviz/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|