Date: Fri, 3 Mar 2017 17:25:20 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435354 - in head/devel: . leatherman leatherman/files Message-ID: <201703031725.v23HPKRP089078@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Mar 3 17:25:20 2017 New Revision: 435354 URL: https://svnweb.freebsd.org/changeset/ports/435354 Log: A collection of C++ and CMake utility libraries. WWW: https://github.com/puppetlabs/leatherman PR: 213624 Submitted by: jslagle@gmail.com Added: head/devel/leatherman/ head/devel/leatherman/Makefile (contents, props changed) head/devel/leatherman/distinfo (contents, props changed) head/devel/leatherman/files/ head/devel/leatherman/files/patch-cmake_cflags.cmake (contents, props changed) head/devel/leatherman/files/patch-cmake_leatherman.cmake (contents, props changed) head/devel/leatherman/pkg-descr (contents, props changed) head/devel/leatherman/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Mar 3 17:24:41 2017 (r435353) +++ head/devel/Makefile Fri Mar 3 17:25:20 2017 (r435354) @@ -1204,6 +1204,7 @@ SUBDIR += lasi SUBDIR += lcov SUBDIR += leaktracer + SUBDIR += leatherman SUBDIR += leiningen SUBDIR += lemon SUBDIR += lfcbase Added: head/devel/leatherman/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/leatherman/Makefile Fri Mar 3 17:25:20 2017 (r435354) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= leatherman +PORTVERSION= 0.10.1 +CATEGORIES= devel + +MAINTAINER= jslagle@gmail.com +COMMENT= Leatherman C++ Tool library + +LICENSE= APACHE20 + +LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libcurl.so:ftp/curl + +USE_GITHUB= yes +GH_ACCOUNT= puppetlabs + +USES= cmake +USE_RUBY= yes +CMAKE_ARGS= -DLEATHERMAN_SHARED:BOOL=ON +USE_LDCONFIG= yes + +PLIST_SUB= PORTVERSION=${PORTVERSION} + +.include <bsd.port.mk> Added: head/devel/leatherman/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/leatherman/distinfo Fri Mar 3 17:25:20 2017 (r435354) @@ -0,0 +1,3 @@ +TIMESTAMP = 1483588778 +SHA256 (puppetlabs-leatherman-0.10.1_GH0.tar.gz) = 79b0eded49a02cb8f6ce6260ae39e3f1bdd2dc2c62c02f661308e04c08edb69e +SIZE (puppetlabs-leatherman-0.10.1_GH0.tar.gz) = 423218 Added: head/devel/leatherman/files/patch-cmake_cflags.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/leatherman/files/patch-cmake_cflags.cmake Fri Mar 3 17:25:20 2017 (r435354) @@ -0,0 +1,20 @@ +--- cmake/cflags.cmake.orig 2017-01-05 04:17:18 UTC ++++ cmake/cflags.cmake +@@ -2,7 +2,7 @@ + # Each of our project dirs sets CMAKE_CXX_FLAGS based on these. We do + # not set CMAKE_CXX_FLAGS globally because gtest is not warning-clean. + if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "\\w*Clang") +- set(LEATHERMAN_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-tautological-constant-out-of-range-compare") ++ set(LEATHERMAN_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-tautological-constant-out-of-range-compare") + + # Clang warns that 'register' is deprecated; 'register' is used throughout boost, so it can't be an error yet. + # The warning flag is different on different clang versions so we need to extract the clang version. +@@ -41,7 +41,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQ + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-maybe-uninitialized") + + # missing-field-initializers is disabled because GCC can't make up their mind how to treat C++11 initializers +- set(LEATHERMAN_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers") ++ set(LEATHERMAN_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers") + if (NOT "${CMAKE_SYSTEM_NAME}" MATCHES "SunOS") + set(LEATHERMAN_CXX_FLAGS "${LEATHERMAN_CXX_FLAGS} -Wextra") + endif() Added: head/devel/leatherman/files/patch-cmake_leatherman.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/leatherman/files/patch-cmake_leatherman.cmake Fri Mar 3 17:25:20 2017 (r435354) @@ -0,0 +1,14 @@ +--- cmake/leatherman.cmake.orig 2016-12-06 01:37:41 UTC ++++ cmake/leatherman.cmake +@@ -78,11 +78,6 @@ macro(leatherman_install) + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib${LIB_SUFFIX} + ARCHIVE DESTINATION lib${LIB_SUFFIX}) +- foreach(ARG ${ARGV}) +- if (TARGET ${ARG}) +- set_target_properties(${ARG} PROPERTIES PREFIX "" IMPORT_PREFIX "") +- endif() +- endforeach() + endmacro() + + # Usage: add_cppcheck_dirs(dir1 dir2) Added: head/devel/leatherman/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/leatherman/pkg-descr Fri Mar 3 17:25:20 2017 (r435354) @@ -0,0 +1,3 @@ +A collection of C++ and CMake utility libraries. + +WWW: https://github.com/puppetlabs/leatherman Added: head/devel/leatherman/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/leatherman/pkg-plist Fri Mar 3 17:25:20 2017 (r435354) @@ -0,0 +1,109 @@ +include/boost/nowide/args.hpp +include/boost/nowide/cenv.hpp +include/boost/nowide/config.hpp +include/boost/nowide/convert.hpp +include/boost/nowide/cstdio.hpp +include/boost/nowide/cstdlib.hpp +include/boost/nowide/filebuf.hpp +include/boost/nowide/fstream.hpp +include/boost/nowide/integration/filesystem.hpp +include/boost/nowide/iostream.hpp +include/boost/nowide/stackstring.hpp +include/boost/nowide/system.hpp +include/boost/nowide/utf8_codecvt.hpp +include/boost/nowide/windows.hpp +include/leatherman/curl/client.hpp +include/leatherman/curl/export.h +include/leatherman/curl/request.hpp +include/leatherman/curl/response.hpp +include/leatherman/dynamic_library/dynamic_library.hpp +include/leatherman/execution/execution.hpp +include/leatherman/file_util/directory.hpp +include/leatherman/file_util/file.hpp +include/leatherman/json_container/json_container.hpp +include/leatherman/locale/locale.hpp +include/leatherman/logging/logging.hpp +include/leatherman/ruby/api.hpp +include/leatherman/util/environment.hpp +include/leatherman/util/option_set.hpp +include/leatherman/util/posix/scoped_descriptor.hpp +include/leatherman/util/regex.hpp +include/leatherman/util/scope_exit.hpp +include/leatherman/util/scoped_env.hpp +include/leatherman/util/scoped_resource.hpp +include/leatherman/util/strings.hpp +include/leatherman/util/time.hpp +include/leatherman/util/timer.hpp +include/leatherman/util/windows/scoped_handle.hpp +include/leatherman/vendor/catch.hpp +include/leatherman/vendor/rapidjson/allocators.h +include/leatherman/vendor/rapidjson/document.h +include/leatherman/vendor/rapidjson/encodedstream.h +include/leatherman/vendor/rapidjson/encodings.h +include/leatherman/vendor/rapidjson/error/en.h +include/leatherman/vendor/rapidjson/error/error.h +include/leatherman/vendor/rapidjson/filereadstream.h +include/leatherman/vendor/rapidjson/filewritestream.h +include/leatherman/vendor/rapidjson/internal/biginteger.h +include/leatherman/vendor/rapidjson/internal/diyfp.h +include/leatherman/vendor/rapidjson/internal/dtoa.h +include/leatherman/vendor/rapidjson/internal/ieee754.h +include/leatherman/vendor/rapidjson/internal/itoa.h +include/leatherman/vendor/rapidjson/internal/meta.h +include/leatherman/vendor/rapidjson/internal/pow10.h +include/leatherman/vendor/rapidjson/internal/stack.h +include/leatherman/vendor/rapidjson/internal/strfunc.h +include/leatherman/vendor/rapidjson/internal/strtod.h +include/leatherman/vendor/rapidjson/memorybuffer.h +include/leatherman/vendor/rapidjson/memorystream.h +include/leatherman/vendor/rapidjson/msinttypes/inttypes.h +include/leatherman/vendor/rapidjson/msinttypes/stdint.h +include/leatherman/vendor/rapidjson/prettywriter.h +include/leatherman/vendor/rapidjson/rapidjson.h +include/leatherman/vendor/rapidjson/reader.h +include/leatherman/vendor/rapidjson/stringbuffer.h +include/leatherman/vendor/rapidjson/writer.h +lib/cmake/leatherman/LeathermanConfig.cmake +lib/cmake/leatherman/LeathermanConfigVersion.cmake +lib/cmake/leatherman/LeathermanLibraries-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/leatherman/LeathermanLibraries.cmake +lib/cmake/leatherman/catch.cmake +lib/cmake/leatherman/cmake/GetGitRevisionDescription.cmake +lib/cmake/leatherman/cmake/GetGitRevisionDescription.cmake.in +lib/cmake/leatherman/cmake/cflags.cmake +lib/cmake/leatherman/cmake/generate_translations.cmake +lib/cmake/leatherman/cmake/leatherman.cmake +lib/cmake/leatherman/cmake/leatherman_config.cmake +lib/cmake/leatherman/cmake/normalize_pot.cmake +lib/cmake/leatherman/cmake/options.cmake +lib/cmake/leatherman/cmake/pod2man.cmake +lib/cmake/leatherman/curl.cmake +lib/cmake/leatherman/dynamic_library.cmake +lib/cmake/leatherman/execution.cmake +lib/cmake/leatherman/file_util.cmake +lib/cmake/leatherman/json_container.cmake +lib/cmake/leatherman/locale.cmake +lib/cmake/leatherman/logging.cmake +lib/cmake/leatherman/nowide.cmake +lib/cmake/leatherman/rapidjson.cmake +lib/cmake/leatherman/ruby.cmake +lib/cmake/leatherman/scripts/cpplint.py +lib/cmake/leatherman/util.cmake +lib/libleatherman_curl.so +lib/libleatherman_curl.so.%%PORTVERSION%% +lib/libleatherman_dynamic_library.so +lib/libleatherman_dynamic_library.so.%%PORTVERSION%% +lib/libleatherman_execution.so +lib/libleatherman_execution.so.%%PORTVERSION%% +lib/libleatherman_file_util.so +lib/libleatherman_file_util.so.%%PORTVERSION%% +lib/libleatherman_json_container.so +lib/libleatherman_json_container.so.%%PORTVERSION%% +lib/libleatherman_locale.so +lib/libleatherman_locale.so.%%PORTVERSION%% +lib/libleatherman_logging.so +lib/libleatherman_logging.so.%%PORTVERSION%% +lib/libleatherman_ruby.so +lib/libleatherman_ruby.so.%%PORTVERSION%% +lib/libleatherman_util.so +lib/libleatherman_util.so.%%PORTVERSION%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703031725.v23HPKRP089078>