blob: b1290b25bfbbff18cdd9f79b6d6e33c3bd0dbe8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
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>
|