-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
45 lines (39 loc) · 1.35 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PORTNAME= tools
DISTVERSION= ${QT6_VERSION}
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= qt6-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt declarative framework for dynamic user interfaces
WWW= https://qt-project.org
BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \
libdouble-conversion.so:devel/double-conversion \
libexpat.so:textproc/expat2 \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgraphite2.so:graphics/graphite2 \
libharfbuzz.so:print/harfbuzz \
libicudata.so:devel/icu \
libpcre.so:devel/pcre \
libpcre2-16.so:devel/pcre2 \
libpng16.so:graphics/png \
libxkbcommon.so:x11/libxkbcommon \
libzstd.so:archivers/zstd
USES= cmake compiler:c++17-lang gettext-runtime gl gnome llvm:lib python:build xorg \
qt-dist:6
USE_GL= opengl
USE_GNOME= glib20
USE_QT= base declarative
USE_XORG= x11 xau xcb xdmcp
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>