summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/libcarddav
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/libcarddav')
-rw-r--r--freebsd/dependencies/libcarddav/Makefile29
-rw-r--r--freebsd/dependencies/libcarddav/distinfo6
-rw-r--r--freebsd/dependencies/libcarddav/pkg-plist1
3 files changed, 15 insertions, 21 deletions
diff --git a/freebsd/dependencies/libcarddav/Makefile b/freebsd/dependencies/libcarddav/Makefile
index c77d7ca65..caed929ac 100644
--- a/freebsd/dependencies/libcarddav/Makefile
+++ b/freebsd/dependencies/libcarddav/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/libcarddav/distinfo b/freebsd/dependencies/libcarddav/distinfo
index 755c44a38..62b054826 100644
--- a/freebsd/dependencies/libcarddav/distinfo
+++ b/freebsd/dependencies/libcarddav/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551698894
-SHA256 (TDE/dependencies/libcarddav_14.0.6.orig.tar.xz) = e48ade3a1f695cde15f5f6c2e2125812d933b46be1f7f3f19c2a1927d0f7aa2d
-SIZE (TDE/dependencies/libcarddav_14.0.6.orig.tar.xz) = 380184
+TIMESTAMP = 1576725746
+SHA256 (TDE/dependencies/libcarddav_14.0.7.orig.tar.xz) = 23b6531afbc5f60eb4bd972bc6e943059920960f1e2c971f7451bb9a65ac3926
+SIZE (TDE/dependencies/libcarddav_14.0.7.orig.tar.xz) = 401404
diff --git a/freebsd/dependencies/libcarddav/pkg-plist b/freebsd/dependencies/libcarddav/pkg-plist
index 10965383d..4e9e21527 100644
--- a/freebsd/dependencies/libcarddav/pkg-plist
+++ b/freebsd/dependencies/libcarddav/pkg-plist
@@ -1,5 +1,4 @@
include/libcarddav/carddav.h
-lib/libcarddav.a
lib/libcarddav.la
lib/libcarddav.so
lib/libcarddav.so.0