2019-11-02 21:55:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2019/11/02 20:55:46 nia Exp $
|
2008-12-19 22:48:05 +01:00
|
|
|
|
2019-11-02 21:55:46 +01:00
|
|
|
DISTNAME= libical-3.0.6
|
2008-12-19 22:48:05 +01:00
|
|
|
CATEGORIES= time
|
2018-04-25 07:51:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=libical/}
|
2019-11-02 21:55:46 +01:00
|
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
2008-12-19 22:48:05 +01:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2018-04-25 07:51:20 +02:00
|
|
|
HOMEPAGE= https://github.com/libical/libical/
|
2008-12-19 22:48:05 +01:00
|
|
|
COMMENT= Reference implementation of the iCalendar data type and format
|
2018-04-25 07:51:20 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1 OR mpl-2.0
|
2008-12-19 22:48:05 +01:00
|
|
|
|
2018-04-25 07:51:20 +02:00
|
|
|
USE_TOOLS+= perl pkg-config
|
2014-02-01 02:44:52 +01:00
|
|
|
USE_CMAKE= yes
|
2008-12-19 22:48:05 +01:00
|
|
|
|
2019-11-02 21:55:46 +01:00
|
|
|
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
|
2008-12-19 22:48:05 +01:00
|
|
|
|
2009-03-19 12:57:48 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
# zone.tab file in /usr/share/zoneinfo
|
|
|
|
DEPENDS+= zonetab-[0-9]*:../../time/zonetab
|
|
|
|
.endif
|
|
|
|
|
2009-11-20 12:47:08 +01:00
|
|
|
# C++ is only needed for test
|
2014-02-01 02:44:52 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2009-11-20 12:47:08 +01:00
|
|
|
#TEST_TARGET= check
|
|
|
|
|
2018-04-25 07:51:20 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2015-03-14 18:11:43 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2008-12-19 22:48:05 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|