diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2021-06-22 17:11:01 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2021-07-17 15:17:46 +0000 |
commit | d7a31e2e9fecb89c9614ffadf6e503c350abaff4 (patch) | |
tree | 6d3b1b23efd364ea96ad05d4b4cd07ef5e9e6e61 /devel/bear/Makefile | |
parent | 85501ca5f36c952bcd6d213409fa55a2b942fbd7 (diff) | |
download | ports-d7a31e2e9fecb89c9614ffadf6e503c350abaff4.tar.gz ports-d7a31e2e9fecb89c9614ffadf6e503c350abaff4.zip |
devel/bear: Update to 3.0.13
https://github.com/rizsotto/Bear/releases/tag/3.0.13
https://github.com/rizsotto/Bear/releases/tag/3.0.12
https://github.com/rizsotto/Bear/releases/tag/3.0.11
https://github.com/rizsotto/Bear/releases/tag/3.0.10
https://github.com/rizsotto/Bear/releases/tag/3.0.9
https://github.com/rizsotto/Bear/releases/tag/3.0.8
https://github.com/rizsotto/Bear/releases/tag/3.0.7
https://github.com/rizsotto/Bear/releases/tag/3.0.6
https://github.com/rizsotto/Bear/releases/tag/3.0.5
https://github.com/rizsotto/Bear/releases/tag/3.0.4
https://github.com/rizsotto/Bear/releases/tag/3.0.3
https://github.com/rizsotto/Bear/releases/tag/3.0.2
https://github.com/rizsotto/Bear/releases/tag/3.0.1
https://github.com/rizsotto/Bear/releases/tag/3.0.0
https://github.com/rizsotto/Bear/releases/tag/3.0.0-rc3
https://github.com/rizsotto/Bear/releases/tag/3.0.0-rc2
https://github.com/rizsotto/Bear/releases/tag/3.0.0-rc1
PR: 256771
Reviewed by: ashish Derek Schrock <dereks@lifeofadishwasher.com>
Differential Revision: https://reviews.freebsd.org/D30868
Co-authored-by: Derek Schrock <dereks_lifeofadishwasher.com>
Diffstat (limited to 'devel/bear/Makefile')
-rw-r--r-- | devel/bear/Makefile | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/devel/bear/Makefile b/devel/bear/Makefile index b7dcd5857eea..1339f02a0675 100644 --- a/devel/bear/Makefile +++ b/devel/bear/Makefile @@ -1,33 +1,42 @@ # Created by: Jov <amutu@amutu.com> PORTNAME= bear -DISTVERSION= 2.4.4 +DISTVERSION= 3.0.13 CATEGORIES= devel -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jrm@FreeBSD.org COMMENT= Tool that generates a compilation database for clang tooling -LICENSE= GPLv3 +LICENSE= GPLv3+ -USES= cmake python shebangfix +BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json +LIB_DEPENDS= libabsl_hash.so:devel/abseil \ + libcares.so:dns/c-ares \ + libfmt.so:devel/libfmt \ + libgrpc.so:devel/grpc \ + libprotobuf.so:devel/protobuf \ + libre2.so:devel/re2 \ + libspdlog.so:devel/spdlog + +USES= cmake compiler:c++17-lang pkgconfig USE_GITHUB= yes GH_ACCOUNT= rizsotto GH_PROJECT= Bear USE_LDCONFIG= yes -SHEBANG_FILES= bear/bear.py -python_OLD_CMD= "/usr/bin/env @BEAR_PYTHON_EXECUTABLE@" +CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${DOCSDIR} \ + -DENABLE_FUNC_TESTS=OFF \ + -DENABLE_UNIT_TESTS=OFF OPTIONS_DEFINE= DOCS -post-patch: - ${REINPLACE_CMD} -e '/install(FILES COPYING/d' \ - -e '/{CMAKE_INSTALL_DOCDIR}/d' \ - ${WRKSRC}/CMakeLists.txt +pre-install: + ${MV} ${STAGEDIR}/${CONFIGURE_WRKSRC}/stage ${CONFIGURE_WRKSRC}/ + ${RM} -r ${STAGEDIR}/wrkdirs -post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} +post-install: +.for l in bin/citnames bin/intercept libexec/bear/libexec.so libexec/bear/wrapper + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${l} +.endfor .include <bsd.port.mk> |