summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/libcarddav/Makefile
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-04-22 00:00:02 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-04-22 20:51:11 +0200
commit4975402d7f239a520dfcbd48e03dbab43e491d68 (patch)
tree1fa8069b82399fccffe1736bbc8af73d1f3a4d93 /freebsd/dependencies/libcarddav/Makefile
parent718961e63499208eae72b6d4f56ae94004d41020 (diff)
downloadtde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.tar.gz
tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.zip
FreeBSD: Add ports updated for final release R14.1.0.
Add a script to synchronize ports to the FreeBSD ports structure. Add meta-port 'tde-meta' to install all TDE ports. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/libcarddav/Makefile')
-rw-r--r--freebsd/dependencies/libcarddav/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/freebsd/dependencies/libcarddav/Makefile b/freebsd/dependencies/libcarddav/Makefile
new file mode 100644
index 000000000..e17176867
--- /dev/null
+++ b/freebsd/dependencies/libcarddav/Makefile
@@ -0,0 +1,39 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: dependencies/libcarddav
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= libcarddav
+COMMENT= libcarddav provides a C interface for carddav PIM clients
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= libc/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= devel
+DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION}
+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>