aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-03-04 01:07:23 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-03-04 01:07:23 +0000
commit6da8a333d6787ce7c6538ca1e2b6ae9e37a95760 (patch)
treee3dae51e2218f1e4bd2b9bd38a2f7c321664aa70 /x11-wm
parent234f0d14ac8e618aba746a88df490b62b091c7ff (diff)
downloadports-6da8a333d6787ce7c6538ca1e2b6ae9e37a95760.tar.gz
ports-6da8a333d6787ce7c6538ca1e2b6ae9e37a95760.zip
x11-wm/labwc: simplify MANPAGES=off
Notes
Notes: svn path=/head/; revision=567286
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/labwc/Makefile7
-rw-r--r--x11-wm/labwc/distinfo2
2 files changed, 6 insertions, 3 deletions
diff --git a/x11-wm/labwc/Makefile b/x11-wm/labwc/Makefile
index 6157098ed4ce..1cbd245c7baf 100644
--- a/x11-wm/labwc/Makefile
+++ b/x11-wm/labwc/Makefile
@@ -4,6 +4,9 @@ PORTNAME= labwc
PORTVERSION= s20210303
CATEGORIES= x11-wm
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 53a6d4fd32cc.patch:-p1 # https://github.com/johanmalm/labwc/pull/19
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Openbox alternative for Wayland
@@ -28,6 +31,7 @@ OPTIONS_DEFINE= MANPAGES SUID X11
OPTIONS_DEFAULT=MANPAGES SUID X11
MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc
+MANPAGES_MESON_ENABLED= man-pages
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \
man/man5/${PORTNAME}-actions.5.gz \
man/man5/${PORTNAME}-config.5.gz \
@@ -44,9 +48,6 @@ post-patch:
${WRKSRC}/docs/${PORTNAME}-config.5.md \
${WRKSRC}/src/common/dir.c
-post-patch-MANPAGES-off:
- @${REINPLACE_CMD} "s/'pandoc/&-disabled/" ${WRKSRC}/docs/meson.build
-
post-install-MANPAGES-on:
@${MV} ${STAGEDIR}${PREFIX}/man/man*.1/* ${STAGEDIR}${PREFIX}/man/man1
@${MV} ${STAGEDIR}${PREFIX}/man/man*.5/* ${STAGEDIR}${PREFIX}/man/man5
diff --git a/x11-wm/labwc/distinfo b/x11-wm/labwc/distinfo
index 3cd8185f9b14..4873e9ecad3a 100644
--- a/x11-wm/labwc/distinfo
+++ b/x11-wm/labwc/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1614806392
SHA256 (johanmalm-labwc-s20210303-2738ff2_GH0.tar.gz) = 7b5e89f15134cc60f624b3eb509be7af3a34c3adb8795b5655ce10206af4dac5
SIZE (johanmalm-labwc-s20210303-2738ff2_GH0.tar.gz) = 59295
+SHA256 (53a6d4fd32cc.patch) = 77b6fb10733a4f83611bc00089cef844f78eebc346dd1c27587b296bc2256b1e
+SIZE (53a6d4fd32cc.patch) = 987