blob: 08872f27ac8be0866df0de3dffa08e3c0496dd13 (
plain) (
blame)
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
65
66
|
# Created by: Joep Grooten <joep@di.nl>
# $FreeBSD$
PORTNAME= doxygen
PORTVERSION= 1.8.10
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \
http://ftp.stack.nl/pub/users/dimitri/
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Documentation system for C, C++, and other languages
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= bison cmake:outsource iconv python:2 shebangfix
ALL_TARGET= all
CMAKE_ARGS+= -DDOC_INSTALL_DIR:PATH=${DOCSDIR_REL}
REINPLACE_ARGS= -i ''
EXTRACT_AFTER_ARGS= --exclude '*/libmd5' \
--exclude '*/libpng' \
--exclude '*/tmake'
PLIST_FILES= bin/doxygen
OPTIONS_DEFINE= GRAPHVIZ LATEX QT4 DOCS
OPTIONS_DEFAULT= GRAPHVIZ LATEX
QT4_DESC= Install Doxywizard GUI
GRAPHVIZ_RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
LATEX_USE= TEX=base,dvipsk,pdftex
QT4_USE= QT4=corelib,gui,xml,qmake_build,moc_build,rcc_build,uic_build
QT4_CMAKE_ON= -Dbuild_wizard:BOOLEAN=ON
QT4_CMAKE_OFF= -Dbuild_wizard:BOOLEAN=OFF
QT4_PLIST_FILES= bin/doxywizard
DOCS_USES= ghostscript:build
DOCS_ALL_TARGET= docs
DOCS_BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
DOCS_CMAKE_ON= -Dbuild_doc:BOOLEAN=ON
DOCS_CMAKE_OFF= -Dbuild_doc:BOOLEAN=OFF
DOCS_PLIST_FILES= man/man1/doxygen.1.gz \
man/man1/doxyindexer.1.gz \
man/man1/doxysearch.1.gz \
man/man1/doxywizard.1.gz
DOCS_IMPLIES= LATEX
PORTDOCS= *
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1000033
BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
CMAKE_ARGS+= -DFLEX_EXECUTABLE=${LOCALBASE}/bin/flex
.endif
post-patch:
@${REINPLACE_CMD} -e '/PERL_PATH/ s|${perl_OLD_CMD}|${perl_CMD}|' \
${WRKSRC}/src/config.xml
.include <bsd.port.post.mk>
|