summaryrefslogtreecommitdiff
path: root/x11-wm/cage/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-06-27 03:18:59 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-06-27 03:18:59 +0000
commit3ec0eed0a0b4fcceca4787155e2f77261c478ab2 (patch)
treee61dea54a03a97816f42e1170ef7dc9a0def415c /x11-wm/cage/Makefile
parentmath/R: Update to version 4.0.2 (diff)
x11-wm/cage: update to 0.1.1.77
Changes: https://github.com/Hjdskes/cage/compare/v0.1.1...bd961db
Notes
Notes: svn path=/head/; revision=540550
Diffstat (limited to 'x11-wm/cage/Makefile')
-rw-r--r--x11-wm/cage/Makefile23
1 files changed, 18 insertions, 5 deletions
diff --git a/x11-wm/cage/Makefile b/x11-wm/cage/Makefile
index f246d51521cf..0e7013798ec2 100644
--- a/x11-wm/cage/Makefile
+++ b/x11-wm/cage/Makefile
@@ -2,10 +2,13 @@
PORTNAME= cage
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.1
-PORTREVISION= 9
+DISTVERSION= 0.1.1-77
+DISTVERSIONSUFFIX= -gbd961db
CATEGORIES= x11-wm
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 70ecdcb02ea0.patch:-p1 # https://github.com/Hjdskes/cage/pull/148
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Wayland kiosk
@@ -14,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-protocols>=1.14:graphics/wayland-protocols \
- wlroots>=0.6.0:x11-toolkits/wlroots
+ wlroots>=0.9.1:x11-toolkits/wlroots
LIB_DEPENDS= libwayland-server.so:graphics/wayland \
libwlroots.so:x11-toolkits/wlroots \
libxkbcommon.so:x11/libxkbcommon
@@ -25,12 +28,22 @@ USE_XORG= pixman
GH_ACCOUNT= Hjdskes
PLIST_FILES= "${MAYBE_SUID}bin/${PORTNAME}"
-OPTIONS_DEFINE= SUID X11
-OPTIONS_DEFAULT=SUID X11
+OPTIONS_DEFINE= MANPAGES SUID X11
+OPTIONS_DEFAULT=MANPAGES SUID X11
+
+MANPAGES_BUILD_DEPENDS= scdoc>=1.9.2:textproc/scdoc
+MANPAGES_MESON_ENABLED= man-pages
+MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
SUID_DESC= setuid bit on "${PORTNAME}" binary (required for DRM session)
SUID_VARS= MAYBE_SUID="@(,,4755) "
X11_MESON_TRUE= xwayland
+post-patch:
+# Extract (snapshot) version from the port instead of meson.build
+ @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
+ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
+ ${WRKSRC}/meson.build
+
.include <bsd.port.mk>