From owner-svn-ports-all@freebsd.org Tue Nov 20 19:49:50 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AAC67113BE37; Tue, 20 Nov 2018 19:49:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B8E67FB9E; Tue, 20 Nov 2018 19:49:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 26FB015D4C; Tue, 20 Nov 2018 19:49:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAKJnn83088348; Tue, 20 Nov 2018 19:49:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAKJnnH5088346; Tue, 20 Nov 2018 19:49:49 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201811201949.wAKJnnH5088346@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 20 Nov 2018 19:49:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485478 - head/math/ignition-math X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/ignition-math X-SVN-Commit-Revision: 485478 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4B8E67FB9E X-Spamd-Result: default: False [0.74 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.57)[0.573,0]; NEURAL_SPAM_MEDIUM(0.16)[0.160,0]; NEURAL_SPAM_LONG(0.00)[0.004,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 19:49:50 -0000 Author: yuri Date: Tue Nov 20 19:49:49 2018 New Revision: 485478 URL: https://svnweb.freebsd.org/changeset/ports/485478 Log: math/ignition-math: Add a better way to handle file versioning Also add the 'test' target. Modified: head/math/ignition-math/Makefile head/math/ignition-math/pkg-plist Modified: head/math/ignition-math/Makefile ============================================================================== --- head/math/ignition-math/Makefile Tue Nov 20 19:38:21 2018 (r485477) +++ head/math/ignition-math/Makefile Tue Nov 20 19:49:49 2018 (r485478) @@ -16,12 +16,20 @@ BUILD_DEPENDS= ignition-cmake==2:devel/ignition-cmake USES= cmake:outsource eigen:3 USE_LDCONFIG= yes +CMAKE_OFF= BUILD_TESTING + BB_ACCOUNT= ignitionrobotics BB_PROJECT= ign-math BB_COMMIT= 46f3dd24499c WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT} -PLIST_SUB+= IGN_VER=${DISTVERSION:R:R} +PLIST_SUB+= MATH_IGN_VER=math${DISTVERSION:R:R} + +do-test: # one test is known to fail: https://bitbucket.org/ignitionrobotics/ign-math/issues/98 + @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 Modified: head/math/ignition-math/pkg-plist ============================================================================== --- head/math/ignition-math/pkg-plist Tue Nov 20 19:38:21 2018 (r485477) +++ head/math/ignition-math/pkg-plist Tue Nov 20 19:49:49 2018 (r485478) @@ -1,66 +1,66 @@ -include/ignition/math%%IGN_VER%%/ignition/math.hh -include/ignition/math%%IGN_VER%%/ignition/math/Angle.hh -include/ignition/math%%IGN_VER%%/ignition/math/AxisAlignedBox.hh -include/ignition/math%%IGN_VER%%/ignition/math/Box.hh -include/ignition/math%%IGN_VER%%/ignition/math/Color.hh -include/ignition/math%%IGN_VER%%/ignition/math/Cylinder.hh -include/ignition/math%%IGN_VER%%/ignition/math/Export.hh -include/ignition/math%%IGN_VER%%/ignition/math/Filter.hh -include/ignition/math%%IGN_VER%%/ignition/math/Frustum.hh -include/ignition/math%%IGN_VER%%/ignition/math/Helpers.hh -include/ignition/math%%IGN_VER%%/ignition/math/Inertial.hh -include/ignition/math%%IGN_VER%%/ignition/math/Kmeans.hh -include/ignition/math%%IGN_VER%%/ignition/math/Line2.hh -include/ignition/math%%IGN_VER%%/ignition/math/Line3.hh -include/ignition/math%%IGN_VER%%/ignition/math/MassMatrix3.hh -include/ignition/math%%IGN_VER%%/ignition/math/Material.hh -include/ignition/math%%IGN_VER%%/ignition/math/MaterialType.hh -include/ignition/math%%IGN_VER%%/ignition/math/Matrix3.hh -include/ignition/math%%IGN_VER%%/ignition/math/Matrix4.hh -include/ignition/math%%IGN_VER%%/ignition/math/MovingWindowFilter.hh -include/ignition/math%%IGN_VER%%/ignition/math/OrientedBox.hh -include/ignition/math%%IGN_VER%%/ignition/math/PID.hh -include/ignition/math%%IGN_VER%%/ignition/math/Plane.hh -include/ignition/math%%IGN_VER%%/ignition/math/Pose3.hh -include/ignition/math%%IGN_VER%%/ignition/math/Quaternion.hh -include/ignition/math%%IGN_VER%%/ignition/math/Rand.hh -include/ignition/math%%IGN_VER%%/ignition/math/RotationSpline.hh -include/ignition/math%%IGN_VER%%/ignition/math/SemanticVersion.hh -include/ignition/math%%IGN_VER%%/ignition/math/SignalStats.hh -include/ignition/math%%IGN_VER%%/ignition/math/Sphere.hh -include/ignition/math%%IGN_VER%%/ignition/math/SphericalCoordinates.hh -include/ignition/math%%IGN_VER%%/ignition/math/Spline.hh -include/ignition/math%%IGN_VER%%/ignition/math/Stopwatch.hh -include/ignition/math%%IGN_VER%%/ignition/math/Temperature.hh -include/ignition/math%%IGN_VER%%/ignition/math/Triangle.hh -include/ignition/math%%IGN_VER%%/ignition/math/Triangle3.hh -include/ignition/math%%IGN_VER%%/ignition/math/Vector2.hh -include/ignition/math%%IGN_VER%%/ignition/math/Vector3.hh -include/ignition/math%%IGN_VER%%/ignition/math/Vector3Stats.hh -include/ignition/math%%IGN_VER%%/ignition/math/Vector4.hh -include/ignition/math%%IGN_VER%%/ignition/math/config.hh -include/ignition/math%%IGN_VER%%/ignition/math/detail/Box.hh -include/ignition/math%%IGN_VER%%/ignition/math/detail/Cylinder.hh -include/ignition/math%%IGN_VER%%/ignition/math/detail/Export.hh -include/ignition/math%%IGN_VER%%/ignition/math/detail/Sphere.hh -include/ignition/math%%IGN_VER%%/ignition/math/eigen3.hh -include/ignition/math%%IGN_VER%%/ignition/math/eigen3/Conversions.hh -include/ignition/math%%IGN_VER%%/ignition/math/graph/Edge.hh -include/ignition/math%%IGN_VER%%/ignition/math/graph/Graph.hh -include/ignition/math%%IGN_VER%%/ignition/math/graph/GraphAlgorithms.hh -include/ignition/math%%IGN_VER%%/ignition/math/graph/Vertex.hh -lib/cmake/ignition-math%%IGN_VER%%-all/ignition-math%%IGN_VER%%-all-config-version.cmake -lib/cmake/ignition-math%%IGN_VER%%-all/ignition-math%%IGN_VER%%-all-config.cmake -lib/cmake/ignition-math%%IGN_VER%%-all/ignition-math%%IGN_VER%%-all-targets.cmake -lib/cmake/ignition-math%%IGN_VER%%-eigen3/ignition-math%%IGN_VER%%-eigen3-config-version.cmake -lib/cmake/ignition-math%%IGN_VER%%-eigen3/ignition-math%%IGN_VER%%-eigen3-config.cmake -lib/cmake/ignition-math%%IGN_VER%%-eigen3/ignition-math%%IGN_VER%%-eigen3-targets.cmake -lib/cmake/ignition-math%%IGN_VER%%/ignition-math%%IGN_VER%%-config-version.cmake -lib/cmake/ignition-math%%IGN_VER%%/ignition-math%%IGN_VER%%-config.cmake -lib/cmake/ignition-math%%IGN_VER%%/ignition-math%%IGN_VER%%-targets-%%CMAKE_BUILD_TYPE%%.cmake -lib/cmake/ignition-math%%IGN_VER%%/ignition-math%%IGN_VER%%-targets.cmake -lib/libignition-math%%IGN_VER%%.so -lib/libignition-math%%IGN_VER%%.so.6 -lib/libignition-math%%IGN_VER%%.so.6.0.0~pre4 -libdata/pkgconfig/ignition-math%%IGN_VER%%-eigen3.pc -libdata/pkgconfig/ignition-math%%IGN_VER%%.pc +include/ignition/%%MATH_IGN_VER%%/ignition/math.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Angle.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/AxisAlignedBox.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Box.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Color.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Cylinder.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Export.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Filter.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Frustum.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Helpers.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Inertial.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Kmeans.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Line2.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Line3.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/MassMatrix3.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Material.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/MaterialType.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Matrix3.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Matrix4.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/MovingWindowFilter.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/OrientedBox.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/PID.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Plane.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Pose3.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Quaternion.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Rand.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/RotationSpline.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/SemanticVersion.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/SignalStats.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Sphere.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/SphericalCoordinates.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Spline.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Stopwatch.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Temperature.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Triangle.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Triangle3.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Vector2.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Vector3.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Vector3Stats.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/Vector4.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/config.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/detail/Box.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/detail/Cylinder.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/detail/Export.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/detail/Sphere.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/eigen3.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/eigen3/Conversions.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/graph/Edge.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/graph/Graph.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/graph/GraphAlgorithms.hh +include/ignition/%%MATH_IGN_VER%%/ignition/math/graph/Vertex.hh +lib/cmake/ignition-%%MATH_IGN_VER%%-all/ignition-%%MATH_IGN_VER%%-all-config-version.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%-all/ignition-%%MATH_IGN_VER%%-all-config.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%-all/ignition-%%MATH_IGN_VER%%-all-targets.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%-eigen3/ignition-%%MATH_IGN_VER%%-eigen3-config-version.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%-eigen3/ignition-%%MATH_IGN_VER%%-eigen3-config.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%-eigen3/ignition-%%MATH_IGN_VER%%-eigen3-targets.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%/ignition-%%MATH_IGN_VER%%-config-version.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%/ignition-%%MATH_IGN_VER%%-config.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%/ignition-%%MATH_IGN_VER%%-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/ignition-%%MATH_IGN_VER%%/ignition-%%MATH_IGN_VER%%-targets.cmake +lib/libignition-%%MATH_IGN_VER%%.so +lib/libignition-%%MATH_IGN_VER%%.so.6 +lib/libignition-%%MATH_IGN_VER%%.so.6.0.0~pre4 +libdata/pkgconfig/ignition-%%MATH_IGN_VER%%-eigen3.pc +libdata/pkgconfig/ignition-%%MATH_IGN_VER%%.pc