Date: Tue, 4 Nov 2014 18:36:42 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372161 - in head/graphics: . code-eli Message-ID: <201411041836.sA4IagXh033386@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Tue Nov 4 18:36:41 2014 New Revision: 372161 URL: https://svnweb.freebsd.org/changeset/ports/372161 QAT: https://qat.redports.org/buildarchive/r372161/ Log: Add new port graphics/code-eli PR: 194406 Submitted by: Fernando Apesteguia This is a collection of C++ libraries that provides a variety of functionalities. Eigen3 is needed for most of the components to work since all of the vector and matrix math is done using Eigen3. CPPTest is used to perform unit testing on the components. Added: head/graphics/code-eli/ head/graphics/code-eli/Makefile (contents, props changed) head/graphics/code-eli/distinfo (contents, props changed) head/graphics/code-eli/pkg-descr (contents, props changed) head/graphics/code-eli/pkg-plist (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Tue Nov 4 17:59:53 2014 (r372160) +++ head/graphics/Makefile Tue Nov 4 18:36:41 2014 (r372161) @@ -85,6 +85,7 @@ SUBDIR += clutter SUBDIR += clutter-box2d SUBDIR += clutter-gtk + SUBDIR += code-eli SUBDIR += colord SUBDIR += colord-gtk SUBDIR += comical Added: head/graphics/code-eli/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/code-eli/Makefile Tue Nov 4 18:36:41 2014 (r372161) @@ -0,0 +1,74 @@ +# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com> +# $FreeBSD$ + +PORTNAME= code-eli +PORTVERSION= 0.3.6 +CATEGORIES= graphics +MASTER_SITES= GH + +MAINTAINER= fernando.apesteguia@gmail.com +COMMENT= Library with functionalities for geometries + +LICENSE= EPL +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= eigen>3:${PORTSDIR}/math/eigen3 + +USE_GITHUB= yes +GH_PROJECT= Code-Eli +GH_ACCOUNT= ddmarshall +GH_TAGNAME= ${PORTVERSION} +GH_COMMIT= 2196ee5 + +USES= cmake:outsource compiler:c++11-lib +PORTEXAMPLES= AirfoilFitExample VSPPodExample test +PORTDOCS= html latex +ALL_TARGET= all + +# Some useful variables +AIRFOIL_DIR= airfoil_fit +VSPPOD_DIR= vsp_pod + +# Build options +OPTIONS_DEFINE= DOCS EXAMPLES +EXAMPLES_LIB_DEPENDS= libcpptest.so:${PORTSDIR}/devel/cpptest +DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen +DOCS_ALL_TARGET= doc + +.include <bsd.port.options.mk> + +post-patch: +.if ! ${PORT_OPTIONS:MEXAMPLES} + ${REINPLACE_CMD} \ + -e 's/add_subdirectory(example)//g' \ + -e 's/find_package(CPPTest)//g' \ + ${WRKSRC}/CMakeLists.txt +.endif + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include/eli \ + ${STAGEDIR}${EXAMPLESDIR}${TEST_SUBDIR} \ + ${STAGEDIR}${EXAMPLESDIR} \ + ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/include/eli/code_eli.hpp \ + ${STAGEDIR}${PREFIX}/include/eli + (cd ${WRKSRC}/include/eli && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/eli "*") +.if ${PORT_OPTIONS:MEXAMPLES} + ${INSTALL_DATA} \ + ${BUILD_WRKSRC}/example/${VSPPOD_DIR}/VSPPodExample \ + ${BUILD_WRKSRC}/example/${AIRFOIL_DIR}/AirfoilFitExample \ + ${STAGEDIR}${EXAMPLESDIR} + ${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/VSPPodExample \ + ${STAGEDIR}${EXAMPLESDIR}/AirfoilFitExample + (cd ${BUILD_WRKSRC}/${TEST_SUBDIR} && \ + ${COPYTREE_BIN} . ${STAGEDIR}${EXAMPLESDIR}${TEST_SUBDIR} \ + "-name *Test -type f") + ${FIND} ${STAGEDIR}${EXAMPLESDIR}${TEST_SUBDIR} -name *Test | \ + ${XARGS} ${STRIP_CMD} +.endif +.if ${PORT_OPTIONS:MDOCS} + (cd ${BUILD_WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) +.endif + +.include <bsd.port.mk> Added: head/graphics/code-eli/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/code-eli/distinfo Tue Nov 4 18:36:41 2014 (r372161) @@ -0,0 +1,2 @@ +SHA256 (code-eli-0.3.6.tar.gz) = f8cd25c612a9debfd56e01fe3821fb34bf6bfd8d37d3557f9c91c307b7772df6 +SIZE (code-eli-0.3.6.tar.gz) = 262384 Added: head/graphics/code-eli/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/code-eli/pkg-descr Tue Nov 4 18:36:41 2014 (r372161) @@ -0,0 +1,6 @@ +This is a collection of C++ libraries that provides a variety of +functionalities. Eigen3 is needed for most of the components to work +since all of the vector and matrix math is done using Eigen3. CPPTest +is used to perform unit testing on the components. + +WWW: https://github.com/ddmarshall/Code-Eli Added: head/graphics/code-eli/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/code-eli/pkg-plist Tue Nov 4 18:36:41 2014 (r372161) @@ -0,0 +1,91 @@ +include/eli/code_eli.hpp +include/eli/constants.hpp +include/eli/constants/math.hpp +include/eli/geom.hpp +include/eli/geom/curve.hpp +include/eli/geom/curve/bezier.hpp +include/eli/geom/curve/curvature.hpp +include/eli/geom/curve/equivalent_curves.hpp +include/eli/geom/curve/explicit_bezier.hpp +include/eli/geom/curve/fit_container.hpp +include/eli/geom/curve/length.hpp +include/eli/geom/curve/piecewise.hpp +include/eli/geom/curve/piecewise_circle_creator.hpp +include/eli/geom/curve/piecewise_creator.hpp +include/eli/geom/curve/piecewise_creator_base.hpp +include/eli/geom/curve/piecewise_cubic_spline_creator.hpp +include/eli/geom/curve/piecewise_four_digit_creator.hpp +include/eli/geom/curve/piecewise_general_creator.hpp +include/eli/geom/curve/piecewise_linear_creator.hpp +include/eli/geom/curve/piecewise_point_creator.hpp +include/eli/geom/curve/piecewise_polygon_creator.hpp +include/eli/geom/curve/piecewise_superellipse_creator.hpp +include/eli/geom/curve/pseudo.hpp +include/eli/geom/curve/pseudo/four_digit.hpp +include/eli/geom/curve/torsion.hpp +include/eli/geom/general.hpp +include/eli/geom/general/bounding_box.hpp +include/eli/geom/general/continuity.hpp +include/eli/geom/intersect.hpp +include/eli/geom/intersect/minimum_distance.hpp +include/eli/geom/intersect/minimum_distance_bounding_box.hpp +include/eli/geom/intersect/minimum_distance_curve.hpp +include/eli/geom/intersect/minimum_distance_line.hpp +include/eli/geom/intersect/minimum_distance_plane.hpp +include/eli/geom/intersect/minimum_distance_point.hpp +include/eli/geom/intersect/minimum_distance_surface.hpp +include/eli/geom/point.hpp +include/eli/geom/point/distance.hpp +include/eli/geom/surface.hpp +include/eli/geom/surface/bezier.hpp +include/eli/geom/surface/curvature.hpp +include/eli/geom/surface/piecewise.hpp +include/eli/geom/surface/piecewise_body_of_revolution_creator.hpp +include/eli/geom/surface/piecewise_capped_surface_creator.hpp +include/eli/geom/surface/piecewise_connection_data.hpp +include/eli/geom/surface/piecewise_creator_base.hpp +include/eli/geom/surface/piecewise_general_skinning_surface_creator.hpp +include/eli/geom/utility/bezier.hpp +include/eli/mutil.hpp +include/eli/mutil/ad.hpp +include/eli/mutil/ad/dual.hpp +include/eli/mutil/ad/dual_functions.hpp +include/eli/mutil/ad/dual_math.hpp +include/eli/mutil/ad/dual_number.hpp +include/eli/mutil/ad/dual_operators.hpp +include/eli/mutil/ad/dual_traits.hpp +include/eli/mutil/dm.hpp +include/eli/mutil/dm/binomial_coefficient.hpp +include/eli/mutil/dm/combination.hpp +include/eli/mutil/dm/factorial.hpp +include/eli/mutil/fd.hpp +include/eli/mutil/fd/d1o1.hpp +include/eli/mutil/fd/d1o2.hpp +include/eli/mutil/fd/d1o3.hpp +include/eli/mutil/fd/d2o1.hpp +include/eli/mutil/fd/d2o2.hpp +include/eli/mutil/nls.hpp +include/eli/mutil/nls/bisection_method.hpp +include/eli/mutil/nls/iterative_root_base.hpp +include/eli/mutil/nls/iterative_system_root_base.hpp +include/eli/mutil/nls/newton_raphson_constrained_method.hpp +include/eli/mutil/nls/newton_raphson_constrained_system_method.hpp +include/eli/mutil/nls/newton_raphson_method.hpp +include/eli/mutil/nls/newton_raphson_system_method.hpp +include/eli/mutil/nls/secant_method.hpp +include/eli/mutil/opt.hpp +include/eli/mutil/opt/least_squares.hpp +include/eli/mutil/poly.hpp +include/eli/mutil/poly/polynomial.hpp +include/eli/mutil/poly/root/closed_form.hpp +include/eli/mutil/poly/root/descartes_rule.hpp +include/eli/mutil/poly/root/radius.hpp +include/eli/mutil/poly/root/sign_changes.hpp +include/eli/mutil/poly/root/sturm_count.hpp +include/eli/mutil/quad.hpp +include/eli/mutil/quad/simpson.hpp +include/eli/mutil/quad/trapezoid.hpp +include/eli/util.hpp +include/eli/util/floating_point.hpp +include/eli/util/tolerance.hpp +include/eli/util/traits.hpp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411041836.sA4IagXh033386>