mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
ef833a3648
Changes: https://github.com/philj56/tofi/releases/tag/v0.8.0 Changes: https://github.com/philj56/tofi/releases/tag/v0.8.1 Reported by: GitHub (watch releases)
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
PORTNAME= tofi
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.8.1
|
|
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= evdev-proto>0:devel/evdev-proto \
|
|
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>
|