1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/libical/Makefile
Tobias C. Berner 0647bbd718 devel/libical: add DOCS option
PR:		236289
Submitted by:	rozhuk.im@gmail.com
2020-12-21 19:04:22 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Joe Kelsey
# $FreeBSD$
PORTNAME= libical
DISTVERSION= 3.0.8
PORTREVISION= 1
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
LICENSE= LGPL21 MPL20
LICENSE_COMB= dual
LIB_DEPENDS= libicuuc.so:devel/icu
USES= cmake compiler:c++11-lib gnome pathfix perl5 pkgconfig
USE_PERL5= build
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CFLAGS_amd64= -fPIC
OPTIONS_DEFINE= DOCS GLIB INTROSPECTION VALA
OPTIONS_DEFAULT= GLIB INTROSPECTION VALA
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
VALA_DESC= Build VALA bindings
VALA_BUILD_DEPENDS= valac:lang/vala
VALA_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>