2018-11-20 21:52:04 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ignition-fuel-tools
|
|
|
|
DISTVERSION= 1.2.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
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
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 1
|
2018-11-20 21:52:04 +01:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Classes and tools for interacting with Ignition Fuel
|
|
|
|
|
|
|
|
LICENSE= APACHE20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ignition-cmake==2:devel/ignition-cmake
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
|
|
libignition-common3.so:devel/ignition-common \
|
|
|
|
libjsoncpp.so:devel/jsoncpp \
|
|
|
|
libuuid.so:misc/e2fsprogs-libuuid \
|
|
|
|
libyaml.so:textproc/libyaml \
|
|
|
|
libzip.so:archivers/libzip
|
|
|
|
|
2018-12-25 21:25:39 +01:00
|
|
|
USES= cmake compiler:c++17-lang pkgconfig
|
2018-11-20 21:52:04 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
CMAKE_OFF= BUILD_TESTING
|
|
|
|
|
|
|
|
BB_ACCOUNT= ignitionrobotics
|
|
|
|
BB_PROJECT= ign-fuel-tools
|
|
|
|
BB_COMMIT= 0ffbf3a2c836
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
|
|
|
|
|
|
|
|
PLIST_SUB+= FUEL_TOOLS_IGN_VER=fuel_tools${DISTVERSION:R:R}
|
|
|
|
|
|
|
|
do-test: # 4 tests are known to fail: https://bitbucket.org/ignitionrobotics/ign-fuel-tools/issues/48/4-unit-tests-fail-unit_fuelclient_test
|
|
|
|
@cd ${BUILD_WRKSRC} && \
|
|
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING=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>
|