1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

x11-wm/labwc: simplify MANPAGES=off

This commit is contained in:
Jan Beich 2021-03-04 01:07:23 +00:00
parent 234f0d14ac
commit 6da8a333d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567286
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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