Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112002164
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/x11-wm/chamfer/Makefile b/x11-wm/chamfer/Makefile
index b5bccd7f5c52..8450527ff398 100644
--- a/x11-wm/chamfer/Makefile
+++ b/x11-wm/chamfer/Makefile
@@ -1,60 +1,61 @@
PORTNAME= chamfer
DISTVERSION= s20210218
PORTREVISION= 1
CATEGORIES= x11-wm
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Tiling X11 window manager with Vulkan compositor
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= spirv-opt:graphics/spirv-tools \
+BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
+ ${PYTHON_PKGNAMEPREFIX}boost-libs>0:devel/boost-python-libs@${PY_FLAVOR} \
+ spirv-opt:graphics/spirv-tools \
vulkan-headers>0:graphics/vulkan-headers \
glslc:graphics/shaderc \
glm>0:math/glm
-LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
- ${PY_BOOST} \
- libvulkan.so:graphics/vulkan-loader \
+LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz \
libfontconfig.so:x11-fonts/fontconfig \
libxcb-cursor.so:x11/xcb-util-cursor \
libxcb-keysyms.so:x11/xcb-util-keysyms \
libxcb-icccm.so:x11/xcb-util-wm
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xlib>0:x11-toolkits/py-xlib@${PY_FLAVOR}
USES= compiler:c++17-lang meson localbase pkgconfig python:3.3+ xorg
USE_GITHUB= yes
USE_XORG= xcb
GH_ACCOUNT= jaelpark
GH_PROJECT= ${PORTNAME}wm
GH_TAGNAME= a034c07
post-patch:
@${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \
${WRKSRC}/src/config.cpp ${WRKSRC}/src/main.cpp
# XXX import('python').find_installation().dependency()
# XXX https://github.com/mesonbuild/meson/issues/4788
@${REINPLACE_CMD} -e '/boost/!s/python3/python-${PYTHON_VER}/' \
-e '/boost/s/python3/python${PYTHON_SUFFIX}/' \
`if [ ${PYTHON_REL} -lt 30800 ]; then \
printf "%s %s" -e '/python.*embed/d'; \
fi` \
+ -e '/boost/s/,/,static:true,/' \
${WRKSRC}/meson.build
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}/shaders
${INSTALL_DATA} ${INSTALL_WRKSRC}/*.spv \
${STAGEDIR}${DATADIR}/shaders
${MKDIR} ${STAGEDIR}${DATADIR}/config
${INSTALL_DATA} ${WRKSRC}/config/config.py \
${STAGEDIR}${DATADIR}/config/config.py.sample
${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions/
${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.desktop \
${STAGEDIR}${PREFIX}/share/xsessions/
.include <bsd.port.mk>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Mar 13, 10:19 AM (23 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17117768
Default Alt Text
(2 KB)
Attached To
Mode
R11 FreeBSD ports repository
Attached
Detach File
Event Timeline
Log In to Comment