mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
x11/tofi: add new port
An extremely fast and simple dmenu / rofi replacement for wlroots-based Wayland compositors such as Sway. https://github.com/philj56/tofi
This commit is contained in:
parent
c234a6223d
commit
2331f637a4
@ -377,6 +377,7 @@
|
||||
SUBDIR += tilda
|
||||
SUBDIR += tilix
|
||||
SUBDIR += tint
|
||||
SUBDIR += tofi
|
||||
SUBDIR += trayer
|
||||
SUBDIR += ulauncher
|
||||
SUBDIR += urxvt-font-size
|
||||
|
48
x11/tofi/Makefile
Normal file
48
x11/tofi/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
PORTNAME= tofi
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.6.0
|
||||
CATEGORIES= x11 wayland
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
COMMENT= Tiny dynamic menu for Wayland
|
||||
WWW= https://github.com/philj56/tofi
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
|
||||
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
|
||||
libfreetype.so:print/freetype2 \
|
||||
libharfbuzz.so:print/harfbuzz \
|
||||
libxkbcommon.so:x11/libxkbcommon
|
||||
|
||||
USES= compiler:c11 gnome meson pkgconfig
|
||||
USE_GITHUB= yes
|
||||
USE_GNOME= cairo pango
|
||||
GH_ACCOUNT= philj56
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
bin/${PORTNAME}-drun \
|
||||
bin/${PORTNAME}-run \
|
||||
etc/xdg/${PORTNAME}/config \
|
||||
share/bash-completion/completions/${PORTNAME} \
|
||||
share/bash-completion/completions/${PORTNAME}-drun \
|
||||
share/bash-completion/completions/${PORTNAME}-run
|
||||
|
||||
OPTIONS_DEFINE= MANPAGES
|
||||
OPTIONS_DEFAULT=MANPAGES
|
||||
|
||||
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
|
||||
MANPAGES_MESON_ENABLED= man-pages
|
||||
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}-drun.1.gz \
|
||||
man/man1/${PORTNAME}-run.1.gz \
|
||||
man/man1/${PORTNAME}.1.gz \
|
||||
man/man5/${PORTNAME}.5.gz
|
||||
|
||||
post-patch:
|
||||
# Respect PREFIX for system config and *.desktop
|
||||
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
|
||||
-e 's,/usr/share,${DATADIR:H},' \
|
||||
${WRKSRC}/doc/${PORTNAME}.1.scd \
|
||||
${WRKSRC}/src/drun.c
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/tofi/distinfo
Normal file
3
x11/tofi/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1662647634
|
||||
SHA256 (philj56-tofi-v0.6.0_GH0.tar.gz) = 65a3ddd202ae7b8bedeee2efb92253a4cca929654119ecdfd76f7d4c67315016
|
||||
SIZE (philj56-tofi-v0.6.0_GH0.tar.gz) = 305234
|
2
x11/tofi/pkg-descr
Normal file
2
x11/tofi/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
An extremely fast and simple dmenu / rofi replacement for
|
||||
wlroots-based Wayland compositors such as Sway.
|
Loading…
Reference in New Issue
Block a user