diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-11-21 02:16:51 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-11-21 02:16:51 +0000 |
commit | 83cc2744ce11286728a5dc475c58528e7ed253d3 (patch) | |
tree | 54c11046b0a4c690beb471f0953b4a80a64d70b8 /misc/sdformat/Makefile | |
parent | 2e9b591646f3f3f262a8f1fd9ee6d79d97f1721f (diff) |
New port: misc/sdformat: Simulation Description Format (SDF) parser and description files
Notes
Notes:
svn path=/head/; revision=485493
Diffstat (limited to 'misc/sdformat/Makefile')
-rw-r--r-- | misc/sdformat/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/misc/sdformat/Makefile b/misc/sdformat/Makefile new file mode 100644 index 000000000000..336c9e54ab83 --- /dev/null +++ b/misc/sdformat/Makefile @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= sdformat +DISTVERSION= 8.0.0 +CATEGORIES= misc +MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Simulation Description Format (SDF) parser and description files + +LICENSE= APACHE20 + +BUILD_DEPENDS= ignition-cmake==2:devel/ignition-cmake \ + ignition-tools>0:devel/ignition-tools +LIB_DEPENDS= libignition-math6.so:math/ignition-math \ + libconsole_bridge.so:misc/console-bridge \ + libtinyxml2.so:textproc/tinyxml2 \ + liburdfdom_world.so:misc/urdfdom +RUN_DEPENDS= ignition-tools>0:devel/ignition-tools + +USES= cmake:outsource compiler:c++17-lang pkgconfig +USE_LDCONFIG= yes + +CMAKE_OFF= BUILD_TESTING + +BB_ACCOUNT= osrf +BB_PROJECT= ${PORTNAME} +BB_COMMIT= f555f9a69f8f + +WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT} + +PLIST_SUB+= INCSUBDIR=${PORTNAME}-${DISTVERSION:R} + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=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> |