aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xqilla/Makefile
blob: 572b29b6801283c5344765f30d2b5a044eed08f6 (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
# Created by: vanilla@
# $FreeBSD$

PORTNAME=   xqilla
PORTVERSION=    2.3.0
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= textproc
MASTER_SITES=   SF
DISTNAME=   XQilla-${PORTVERSION}

MAINTAINER= gahr@FreeBSD.org
COMMENT=    XQuery and XPath2 library

OPTIONS_DEFINE= DOCS

LICENSE=    APACHE20

LIB_DEPENDS=    libxerces-c.so.3:${PORTSDIR}/textproc/xerces-c3

USES=       gmake
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
PORTDOCS=   *

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen

post-build:
    cd ${WRKSRC} && ${GMAKE} docs

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \*-api ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>