mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
COMMENT = generator for the woboq code browser
|
|
|
|
DISTNAME = woboq_codebrowser-2.1pl20260406
|
|
|
|
GH_ACCOUNT = KDAB
|
|
GH_PROJECT = codebrowser
|
|
# support LLVM version we have in ports
|
|
GH_COMMIT = ebe91a86e4d06a23f5f7709d081f83e2cc14ef26
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://woboq.com/codebrowser.html
|
|
|
|
# Commercial or CC-BY-NC-SA 3.0
|
|
# (you may not use the material for commercial purposes)
|
|
#
|
|
# https://woboq.com/codebrowser.html
|
|
# "If you are interested in hosting a browsable version of your own C/C++
|
|
# source code on your website or intranet, you can purchase a license of
|
|
# our code browser generator."
|
|
#
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
# uses pledge()
|
|
WANTLIB = ${COMPILER_LIBCXX} c m llvm${MODCLANG_VERSION}/lib/clang-cpp
|
|
|
|
COMPILER = base-clang ports-clang
|
|
|
|
MODULES = devel/cmake \
|
|
lang/clang
|
|
LIB_DEPENDS = ${MODCLANG_LIB_DEPENDS}
|
|
MODCLANG_RUNDEP = Yes
|
|
MODCLANG_VERSION = 22
|
|
|
|
NO_TEST = Yes
|
|
|
|
CONFIGURE_ARGS += -DLLVM_DIR=${LOCALBASE}/llvm${MODCLANG_VERSION}/lib/cmake/llvm
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/woboq_codebrowser
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/woboq_codebrowser
|
|
|
|
.include <bsd.port.mk>
|