-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
30 lines (24 loc) · 886 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME= tools
DISTVERSION= ${QT6_VERSION}
CATEGORIES= devel
PKGNAMEPREFIX= qt6-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt declarative framework for dynamic user interfaces
BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \
libzstd.so:archivers/zstd
USES= cmake compiler:c++17-lang gl llvm:lib,noexport python:build \
qt-dist:6
USE_GL= opengl
USE_QT= base declarative
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
CMAKE_ARGS+= -DClang_DIR:PATH="${LLVM_PREFIX}/lib/cmake/clang" \
-DLLVM_DIR:PATH="${LLVM_PREFIX}/lib/cmake/llvm"
post-install:
# Install symlinks for user-facing tools
${REINPLACE_CMD} -e "s#^#${STAGEDIR}#" -e "s# # ${STAGEDIR}#" \
${WRKDIR}/.build/user_facing_tool_links.txt
while read t; do \
${RLN} $$t; \
done <${WRKDIR}/.build/user_facing_tool_links.txt
.include <bsd.port.mk>