# $FreeBSD$ PORTNAME= davix DISTVERSION= 0.7.1 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://github.com/cern-fts/davix/releases/download/R_${DISTVERSION:S/./_/g}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Make the task of managing files over HTTP-based protocols simple LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid USES= cmake compiler:c++11-lang gnome localbase:ldflags python:build shebangfix ssl SHEBANG_GLOB= *.py USE_GNOME= libxml2 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} do-test: # tests are known to fail: https://github.com/cern-fts/davix/issues/33 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DUNIT_TESTS=ON FUNCTIONAL_TESTS=ON BENCH_TESTS=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include