1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/www/davix/Makefile
Yuri Victorovich a525b4c2c2 www/davix: Fix tests
Backport the upstream commit that fixes tests.
2018-10-04 03:26:58 +00:00

37 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= davix
DISTVERSION= 0.6.9
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/${DISTVERSION}/
PATCH_SITES= https://github.com/cern-fts/davix/commit/
PATCHFILES= 8e6386f64187cf32a32627033105e3a641f6b3d2.patch:-p1
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:outsource 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 <bsd.port.mk>