mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
b003da6957
Upstream changes: https://github.com/rizsotto/Bear/releases/tag/2.4.2
35 lines
732 B
Makefile
35 lines
732 B
Makefile
# Created by: Jov <amutu@amutu.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bear
|
|
DISTVERSION= 2.4.2
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= jrm@FreeBSD.org
|
|
COMMENT= Tool that generates a compilation database for clang tooling
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= cmake shebangfix python
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rizsotto
|
|
GH_PROJECT= Bear
|
|
USE_LDCONFIG= yes
|
|
|
|
SHEBANG_FILES= bear/main.py.in
|
|
python_OLD_CMD= "/usr/bin/env @BEAR_PYTHON_EXECUTABLE@"
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/install(FILES COPYING/d' \
|
|
-e '/{CMAKE_INSTALL_DOCDIR}/d' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|