blob: a6645cdee21fa4b867cb03baff8c88fba818b6a5 (
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
|
# $FreeBSD$
PORTNAME= qjson
PORTVERSION= 0.8.1
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= avilla@FreeBSD.org
COMMENT= Library to manage JSON objects with Qt
LICENSE= LGPL21
USE_QT4= corelib moc_build qmake_build rcc_build uic_build
USES= cmake pathfix tar:bzip2
USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:devel/doxygen
.endif
post-build:
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/doc && doxygen
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
|