git: d7a31e2e9fec - main - devel/bear: Update to 3.0.13
Joseph Mingrone
jrm at FreeBSD.org
Sat Jul 17 15:18:06 UTC 2021
The branch main has been updated by jrm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d7a31e2e9fecb89c9614ffadf6e503c350abaff4
commit d7a31e2e9fecb89c9614ffadf6e503c350abaff4
Author: Joseph Mingrone <jrm at FreeBSD.org>
AuthorDate: 2021-06-22 17:11:01 +0000
Commit: Joseph Mingrone <jrm at FreeBSD.org>
CommitDate: 2021-07-17 15:17:46 +0000
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 at lifeofadishwasher.com>
Differential Revision: https://reviews.freebsd.org/D30868
Co-authored-by: Derek Schrock <dereks_lifeofadishwasher.com>
---
devel/bear/Makefile | 35 ++++++++++++++++++++++-------------
devel/bear/distinfo | 6 +++---
devel/bear/pkg-plist | 13 +++++++++++--
3 files changed, 36 insertions(+), 18 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 at amutu.com>
PORTNAME= bear
-DISTVERSION= 2.4.4
+DISTVERSION= 3.0.13
CATEGORIES= devel
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jrm at 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>
diff --git a/devel/bear/distinfo b/devel/bear/distinfo
index c8340be95f70..7038836d92f4 100644
--- a/devel/bear/distinfo
+++ b/devel/bear/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600094981
-SHA256 (rizsotto-Bear-2.4.4_GH0.tar.gz) = 5e95c9fe24714bcb98b858f0f0437aff76ad96b1d998940c0684c3a9d3920e82
-SIZE (rizsotto-Bear-2.4.4_GH0.tar.gz) = 50347
+TIMESTAMP = 1626064165
+SHA256 (rizsotto-Bear-3.0.13_GH0.tar.gz) = b57d9b139acbbad6439f5b1133266fa5afc5eb095a61cfa07cd9e8941943ae22
+SIZE (rizsotto-Bear-3.0.13_GH0.tar.gz) = 120488
diff --git a/devel/bear/pkg-plist b/devel/bear/pkg-plist
index b31f38004803..039ad0511ae8 100644
--- a/devel/bear/pkg-plist
+++ b/devel/bear/pkg-plist
@@ -1,5 +1,14 @@
bin/bear
-lib/bear/libear.so
+bin/citnames
+bin/intercept
+libexec/bear/libexec.so
+libexec/bear/wrapper
man/man1/bear.1.gz
-share/bash-completion/completions/bear
+man/man1/citnames.1.gz
+man/man1/intercept.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/CODE_OF_CONDUCT.md
+%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL.md
%%PORTDOCS%%%%DOCSDIR%%/README.md
+ at dir libexec/bear/wrapper.d
More information about the dev-commits-ports-all
mailing list