1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/x11/foot/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

47 lines
1.3 KiB
Makefile

PORTNAME= foot
DISTVERSION= 1.7.1
CATEGORIES= x11
MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Fast, lightweight and minimalistic Wayland terminal emulator
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
tllist>=1.0.4: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}
OPTIONS_DEFINE= NOTIFY XDG
OPTIONS_DEFAULT=NOTIFY XDG
NOTIFY_RUN_DEPENDS= notify-send:devel/libnotify
XDG_DESC= Open files with xdg-open
XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils
.if exists(/usr/bin/tic)
PKGMESSAGE= ${NONEXISTENT}
PLIST_FILES+= share/site-terminfo/f/${PORTNAME} \
share/site-terminfo/f/${PORTNAME}-direct
.else
MESON_ARGS+= -Dterminfo=disabled
.endif
post-patch:
# Chase default TERMINFO_DIRS on FreeBSD, see lib/ncurses/ncurses/ncurses_cfg.h
@${REINPLACE_CMD} '/datadir/s/terminfo/site-&/' ${WRKSRC}/meson.build
.include <bsd.port.mk>