aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libkolabxml/Makefile
blob: cea1ddd8739113de39cb6ef15528afa717774790 (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
# $FreeBSD$

PORTNAME=   libkolabxml
PORTVERSION=    0.8.4
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   http://mirror.kolabsys.com/pub/releases/

MAINTAINER= kde@FreeBSD.org
COMMENT=    Kolab XML Format Schema Definitions Library

# The XSD schemas in schemas/ are AL2-licensed, and some files are
# in public domain. The library itself and the installed headers are
# considered LGPL3-licensed, though.
LICENSE=    LGPL3

BUILD_DEPENDS=  xsdcxx:${PORTSDIR}/devel/xsd
LIB_DEPENDS=    boost_system:${PORTSDIR}/devel/boost-libs \
        curl:${PORTSDIR}/ftp/curl \
        xerces-c.3:${PORTSDIR}/textproc/xerces-c3

# TODO: Conditionally enable the bindings based on OPTIONs.
CMAKE_ARGS= -DBUILD_TESTS:BOOL=OFF \
        -DCSHARP_BINDINGS:BOOL=OFF \
        -DDIST_ONLY:BOOL=OFF \
        -DJAVA_BINDINGS:BOOL=OFF \
        -DPHP_BINDINGS:BOOL=OFF \
        -DPYTHON_BINDINGS:BOOL=OFF
USES=       cmake:outsource
USE_LDCONFIG=   yes

PLIST_SUB=  SHLIB_VER=${PORTVERSION}

NO_STAGE=   yes
.include <bsd.port.mk>