Also remove the clang module and use devel/llvm as a BUILD_DEPENDS (from jca@, thanks!). OK kmos@ jca@ (who tested on sparc64)
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2019/08/21 11:20:25 cwen Exp $
|
|
|
|
COMMENT = generator for the woboq code browser
|
|
|
|
DISTNAME = woboq_codebrowser-2.1pl0
|
|
|
|
GH_ACCOUNT = woboq
|
|
GH_PROJECT = woboq_codebrowser
|
|
# support LLVM version we have in ports
|
|
GH_COMMIT = d1a92c6cd04e40da119134c3b84cd709208230b5
|
|
|
|
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
|
|
|
|
COMPILER = base-clang ports-clang
|
|
|
|
MODULES = devel/cmake
|
|
BUILD_DEPENDS = devel/llvm
|
|
RUN_DEPENDS = devel/llvm
|
|
|
|
NO_TEST = Yes
|
|
|
|
SUBST_VARS += VARBASE
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${GH_PROJECT}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/${GH_PROJECT}
|
|
|
|
.include <bsd.port.mk>
|