blob: c72ad19d551df122a1122379a834a788ce3fcf35 (
plain) (
blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
PORTNAME= ignition-common
DISTVERSION= 3.0.0
PORTREVISION= 7
CATEGORIES= devel
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Set of libraries designed to rapidly develop robot applications
WWW= https://ignitionrobotics.org/home
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ignition-cmake==2:devel/ignition-cmake
LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 \
libfreeimage.so:graphics/freeimage \
libgts.so:graphics/gts \
libtinyxml2.so:textproc/tinyxml2 \
libuuid.so:misc/e2fsprogs-libuuid \
libignition-math6.so:math/ignition-math
USES= cmake compiler:c++17-lang gnome localbase pkgconfig
USE_CXXSTD= c++14
USE_GNOME= glib20
USE_LDCONFIG= yes
CMAKE_ON= USE_EXTERNAL_TINYXML2
CMAKE_OFF= BUILD_TESTING
BB_ACCOUNT= ignitionrobotics
BB_PROJECT= ign-common
BB_COMMIT= a5c4d5a35bb8
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
PLIST_SUB= COMMON_IGN_VER=common${DISTVERSION:R:R}
do-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>
|