1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/x11/wofi/Makefile
2024-02-10 21:37:59 +01:00

29 lines
813 B
Makefile

PORTNAME= wofi
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.1
CATEGORIES= x11 wayland
MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Launcher/menu program for wlroots-based compositors
WWW= https://hg.sr.ht/~scoopta/wofi
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING.md
LIB_DEPENDS= libwayland-client.so:graphics/wayland
USES= gnome meson pkgconfig
USE_GNOME= cairo gdkpixbuf2 gtk30
post-patch:
@${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
${WRKSRC}/man/${PORTNAME}.7 \
${WRKSRC}/modes/drun.c
# Extract (snapshot) version from the port instead of meson.build
@${REINPLACE_CMD} -i .nohg -e 's/hg.found()/false/' \
-e "s/' + version + '/${DISTVERSIONFULL}/" \
${WRKSRC}/meson.build
.include <bsd.port.mk>