mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 15:29:15 -04:00
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
28 lines
684 B
Makefile
28 lines
684 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= docopt.cpp
|
|
DISTVERSION= 0.6.2-6
|
|
PORTREVISION= 1
|
|
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:outsource 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>
|