summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/libcaldav/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/libcaldav/Makefile')
-rw-r--r--freebsd/dependencies/libcaldav/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/freebsd/dependencies/libcaldav/Makefile b/freebsd/dependencies/libcaldav/Makefile
new file mode 100644
index 000000000..a82459ee3
--- /dev/null
+++ b/freebsd/dependencies/libcaldav/Makefile
@@ -0,0 +1,38 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: dependencies/libcaldav
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= libcaldav
+COMMENT= libcaldav provides a C interface for caldav PIM clients
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= libc/${PORTNAME}
+DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION}
+PORTREVISION= 0
+CATEGORIES= devel
+DIST_SUBDIR= TDE/dependencies
+PREFIX= ${LOCALBASE}
+
+BUILD_DEPENDS += \
+ ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
+ -DPKGCONFIG_INSTALL_DIR="${PREFIX}/libdata/pkgconfig"
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>