diff options
Diffstat (limited to 'freebsd/dependencies/libcaldav/Makefile')
-rw-r--r-- | freebsd/dependencies/libcaldav/Makefile | 29 |
1 files changed, 12 insertions, 17 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> |