1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/x11/fuzzel/Makefile
2022-02-05 19:56:45 +00:00

52 lines
1.4 KiB
Makefile

PORTNAME= fuzzel
DISTVERSION= 1.7.0
CATEGORIES= x11
MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Application launcher for wlroots-based Wayland compositors
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= tllist>=1.0.1:devel/tllist \
wayland-protocols>0:graphics/wayland-protocols \
scdoc:textproc/scdoc
LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libwayland-client.so:graphics/wayland \
libfcft.so:x11-fonts/fcft \
libfontconfig.so:x11-fonts/fontconfig \
libxkbcommon.so:x11/libxkbcommon
USES= compiler:c11 meson pkgconfig xorg
USE_XORG= pixman
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
share/zsh/site-functions/_${PORTNAME}
OPTIONS_DEFINE= CAIRO LIBRSVG2 PNG
OPTIONS_DEFAULT=CAIRO LIBRSVG2 PNG
CAIRO_USES= gnome
CAIRO_USE= GNOME=cairo
CAIRO_MESON_ENABLED= enable-cairo
LIBRSVG2_USES= gnome
LIBRSVG2_USE= GNOME=librsvg2
LIBRSVG2_MESON_ON= -Dsvg-backend=librsvg
LIBRSVG2_MESON_OFF= -Dsvg-backend=nanosvg
LIBRSVG2_IMPLIES= CAIRO
PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_MESON_ON= -Dpng-backend=libpng
PNG_MESON_OFF= -Dpng-backend=none
post-patch:
# Respect PREFIX for icons
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/completions/zsh/_${PORTNAME} \
${WRKSRC}/xdg.c
.include <bsd.port.mk>