1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/x11/kanshi/Makefile
Muhammad Moinur Rahman 9f8f710b3e */*: Sanitize MANPREFIX for meson ports
Approved by:	portmgr
2024-01-12 23:40:48 +01:00

34 lines
901 B
Makefile

PORTNAME= kanshi
DISTVERSIONPREFIX= v
PORTVERSION= 1.5.0
PORTREVISION= 1
CATEGORIES= x11 wayland
MASTER_SITES= https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Dynamic display configuration for Wayland
WWW= https://sr.ht/~emersion/kanshi/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libwayland-client.so:graphics/wayland
USES= compiler:c11 meson pkgconfig
MESON_ARGS= -Dipc=disabled # https://github.com/varlink/libvarlink/issues/53
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED= man-pages
MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \
share/man/man5/${PORTNAME}.5.gz
post-patch:
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
${WRKSRC}/doc/${PORTNAME}.5.scd
.include <bsd.port.mk>