summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/libcaldav
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/libcaldav')
-rw-r--r--freebsd/dependencies/libcaldav/Makefile29
-rw-r--r--freebsd/dependencies/libcaldav/distinfo6
-rw-r--r--freebsd/dependencies/libcaldav/pkg-plist4
3 files changed, 15 insertions, 24 deletions
diff --git a/freebsd/dependencies/libcaldav/Makefile b/freebsd/dependencies/libcaldav/Makefile
index f40a10a61..319db1995 100644
--- a/freebsd/dependencies/libcaldav/Makefile
+++ b/freebsd/dependencies/libcaldav/Makefile
@@ -16,22 +16,17 @@ DIST_SUBDIR= TDE/dependencies
PREFIX= ${LOCALBASE}
-do-configure:
- cd "${WRKSRC}" && \
- autoreconf -vi && \
- rm -fr .build && mkdir .build && cd .build && \
- ${WRKSRC}/configure \
- --prefix=${PREFIX} \
- --mandir=${PREFIX}/share/man
-
-post-configure:
- @${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} ${REINPLACE_CMD} -e \
- 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
-
-do-build:
- ${MAKE_CMD} -C "${WRKSRC}/.build"
-
-do-install:
- ${MAKE_CMD} -C "${WRKSRC}/.build" DESTDIR=${STAGEDIR} install
+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>
diff --git a/freebsd/dependencies/libcaldav/distinfo b/freebsd/dependencies/libcaldav/distinfo
index 7960ab2c0..e492bc8ed 100644
--- a/freebsd/dependencies/libcaldav/distinfo
+++ b/freebsd/dependencies/libcaldav/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551698856
-SHA256 (TDE/dependencies/libcaldav_14.0.6.orig.tar.xz) = b108eeda1464a4218f889f9913b5c55a42a3e22c7aa7ce94b72ac52562a6d723
-SIZE (TDE/dependencies/libcaldav_14.0.6.orig.tar.xz) = 203356
+TIMESTAMP = 1576725704
+SHA256 (TDE/dependencies/libcaldav_14.0.7.orig.tar.xz) = 74d785979d11d2431fc0090a9eeaf0914cbc177ba05023a9cf53dc3e1e360b49
+SIZE (TDE/dependencies/libcaldav_14.0.7.orig.tar.xz) = 225228
diff --git a/freebsd/dependencies/libcaldav/pkg-plist b/freebsd/dependencies/libcaldav/pkg-plist
index 98742518b..38954b762 100644
--- a/freebsd/dependencies/libcaldav/pkg-plist
+++ b/freebsd/dependencies/libcaldav/pkg-plist
@@ -1,10 +1,6 @@
include/libcaldav/caldav.h
-lib/libcaldav.a
lib/libcaldav.la
lib/libcaldav.so
lib/libcaldav.so.0
lib/libcaldav.so.0.0.6
libdata/pkgconfig/libcaldav.pc
-share/doc/libcaldav/ics/add.ics
-share/doc/libcaldav/ics/delete.ics
-share/doc/libcaldav/ics/modify.ics