diff options
Diffstat (limited to 'freebsd/dependencies/tqca-tls/Makefile')
-rw-r--r-- | freebsd/dependencies/tqca-tls/Makefile | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/freebsd/dependencies/tqca-tls/Makefile b/freebsd/dependencies/tqca-tls/Makefile index 9d5348861..544afe7d7 100644 --- a/freebsd/dependencies/tqca-tls/Makefile +++ b/freebsd/dependencies/tqca-tls/Makefile @@ -15,27 +15,24 @@ DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION} DIST_SUBDIR= TDE/dependencies PREFIX= ${LOCALBASE} -# Use gmake for automake build -USES= gmake BUILD_DEPENDS+= tqmake:${PORTSDIR}/x11/trinity/dependencies/tqmake LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \ + libtqca.so:${PORTSDIR}/x11/trinity/dependencies/tqca \ libssl.so:${PORTSDIR}/security/openssl -post-extract: - gsed -i ${WRKSRC}/configure \ - -e "s|/usr/include/tqt|${PREFIX}/include/tqt|" +# Build +post-patch: tde-pathfix -do-configure: - cd "${WRKSRC}" && \ - QTDIR=${PREFIX} \ - ${WRKSRC}/configure +do-configure: tde-cmake-prepare + ${TDE_CMAKE_CONFIGURE} \ + -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ + -DPKGCONFIG_INSTALL_DIR="${PREFIX}/libdata/pkgconfig" + -DWITH_ALL_OPTIONS="ON" -do-build: - ${MAKE_CMD} -C ${WRKSRC} +do-build: tde-cmake-build -do-install: - ${MAKE_CMD} -C ${WRKSRC} INSTALL_ROOT=${STAGEDIR} install +do-install: tde-cmake-install .include <bsd.port.mk> |