blob: 55ed325f91445d562fee4e2bbd557ee6db1c90bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $FreeBSD$
PORTNAME= docopt.cpp
DISTVERSION= 0.6.2-6
PORTREVISION= 2
DISTVERSIONSUFFIX= -g7476f8e
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++11 options parser based on help messages
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE-MIT
TEST_DEPENDS= python${PYTHON_DEFAULT}:lang/python${PYTHON_DEFAULT:S/.//}
USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= docopt
USE_LDCONFIG= yes
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DWITH_TESTS=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
python${PYTHON_DEFAULT} run_tests
.include <bsd.port.mk>
|