mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
6538cacdf9
Changes: https://github.com/project-repo/cagebreak/releases/tag/2.2.0 Reported by: GitHub (watch releases)
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
PORTNAME= cagebreak
|
|
DISTVERSION= 2.2.0
|
|
CATEGORIES= x11-wm wayland
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= Wayland tiling compositor inspired by ratpoison
|
|
WWW= https://github.com/project-repo/cagebreak
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
|
|
wayland-protocols>=1.14:graphics/wayland-protocols \
|
|
wlroots>=0.16.0<0.17.0:x11-toolkits/wlroots
|
|
LIB_DEPENDS= libevdev.so:devel/libevdev \
|
|
libudev.so:devel/libudev-devd \
|
|
libwayland-server.so:graphics/wayland \
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
libwlroots.so:x11-toolkits/wlroots \
|
|
libinput.so:x11/libinput \
|
|
libxkbcommon.so:x11/libxkbcommon
|
|
|
|
USES= compiler:c11 gnome meson pkgconfig
|
|
USE_GITHUB= yes
|
|
USE_GNOME= cairo pango
|
|
GH_ACCOUNT= project-repo
|
|
MESON_ARGS= -Dversion_override="${DISTVERSIONFULL}" # if snapshot
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
etc/xdg/${PORTNAME}/config
|
|
|
|
OPTIONS_DEFINE= MANPAGES X11
|
|
OPTIONS_DEFAULT=MANPAGES X11
|
|
|
|
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
|
|
MANPAGES_MESON_TRUE= man-pages
|
|
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \
|
|
man/man5/${PORTNAME}-config.5.gz \
|
|
man/man7/${PORTNAME}-socket.7.gz
|
|
|
|
X11_MESON_TRUE= xwayland
|
|
|
|
post-patch:
|
|
# Respect PREFIX for system-wide config
|
|
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
|
|
${WRKSRC}/${PORTNAME}.c \
|
|
${WRKSRC}/meson.build
|
|
# Drop duplicate LICENSE installation
|
|
@${REINPLACE_CMD} -e '/install.*licenses/d' \
|
|
${WRKSRC}/meson.build
|
|
|
|
.include <bsd.port.mk>
|