aboutsummaryrefslogtreecommitdiff
path: root/devel/libical/Makefile
blob: 196c580439ed2c4c066a373d7e288559c5047528 (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
PORTNAME=	libical
DISTVERSION=	3.0.8
PORTREVISION=	8
CATEGORIES=	devel
MASTER_SITES=	https://github.com/libical/libical/releases/download/v${PORTVERSION}/

MAINTAINER=	desktop@FreeBSD.org
COMMENT=	Implementation of the IETF Calendaring and Scheduling protocols
WWW=		https://github.com/libical

LICENSE=	LGPL21 MPL20
LICENSE_COMB=	dual

LIB_DEPENDS=	libicuuc.so:devel/icu

USES=		cmake compiler:c++11-lib cpe gnome pathfix perl5 pkgconfig
USE_PERL5=	build
USE_LDCONFIG=	yes

CPE_VENDOR=	libical_project

MAKE_JOBS_UNSAFE=	yes

CFLAGS_amd64=	-fPIC

OPTIONS_DEFINE=		DOCS GLIB INTROSPECTION VAPI
OPTIONS_DEFAULT=	GLIB INTROSPECTION VAPI
OPTIONS_SUB=		yes

DOCS_BUILD_DEPENDS=	gtkdoc-scan:textproc/gtk-doc
DOCS_CMAKE_BOOL=	ICAL_BUILD_DOCS
DOCSDIR=		${PREFIX}/share/gtk-doc/html/libical-glib

VAPI_USES=		vala:build
VAPI_CMAKE_BOOL=	ICAL_GLIB_VAPI

INTROSPECTION_DESC=		Build GObject Introspection
INTROSPECTION_USE=		gnome=introspection:build
INTROSPECTION_CMAKE_BOOL=	GOBJECT_INTROSPECTION

GLIB_DESC=		Build GLib bindings
GLIB_USE=		GNOME=glib20,libxml2
GLIB_CMAKE_BOOL=	ICAL_GLIB

PLIST_SUB+=	VERSION=${PORTVERSION}

.include <bsd.port.mk>