blob: 38243f982c0d8d8541b4c5c3597c9a7cdb5eea1f (
plain)
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
|
# $NetBSD: Makefile,v 1.25 2020/03/08 16:51:31 wiz Exp $
DISTNAME= libical-3.0.7
PKGREVISION= 1
CATEGORIES= time
MASTER_SITES= ${MASTER_SITE_GITHUB:=libical/}
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/libical/libical/
COMMENT= Reference implementation of the iCalendar data type and format
LICENSE= gnu-lgpl-v2.1 OR mpl-2.0
USE_TOOLS+= perl pkg-config
USE_CMAKE= yes
CMAKE_ARGS+= -DUSE_BUILTIN_TZDATA=OFF
CMAKE_ARGS+= -DICAL_BUILD_DOCS=OFF
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_BDB=ON
REPLACE_INTERPRETER+= perl
REPLACE.perl.old= .*/bin/tclsh
REPLACE.perl.new= ${PREFIX}/bin/tclsh
REPLACE_FILES.perl=
PKGCONFIG_OVERRIDE+= libical.pc.in
PKGCONFIG_OVERRIDE+= src/libical-glib/libical-glib.pc.in
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
# zone.tab file in /usr/share/zoneinfo
DEPENDS+= zonetab-[0-9]*:../../time/zonetab
.endif
# C++ is only needed for test
USE_LANGUAGES= c c++
#TEST_TARGET= check
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|