2019-03-07 12:33:20 +01:00
|
|
|
PORTNAME= bemenu
|
2021-09-01 19:46:19 +02:00
|
|
|
DISTVERSION= 0.6.3
|
2019-03-07 12:33:20 +01:00
|
|
|
CATEGORIES= x11 wayland
|
2021-05-20 19:58:59 +02:00
|
|
|
MASTER_SITES= https://github.com/Cloudef/bemenu/releases/download/${DISTVERSION}/
|
2019-03-07 12:33:20 +01:00
|
|
|
|
2021-05-20 19:58:59 +02:00
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
2019-03-07 12:33:20 +01:00
|
|
|
COMMENT= Dynamic menu library and client program inspired by dmenu
|
|
|
|
|
|
|
|
LICENSE= GPLv3+ LGPL3+
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSE-CLIENT
|
|
|
|
LICENSE_FILE_LGPL3+ = ${WRKSRC}/LICENSE-LIB
|
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
2020-04-12 14:42:18 +02:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile
|
2020-07-04 14:57:46 +02:00
|
|
|
MAKE_ARGS= RENDERERS="${_BEMENU_RENDERERS}" \
|
|
|
|
VERSION=${DISTVERSION}
|
2019-10-26 15:19:19 +02:00
|
|
|
PLIST_SUB= SOVERSION=${DISTVERSION}
|
2019-03-07 12:33:20 +01:00
|
|
|
|
|
|
|
OPTIONS_DEFAULT= ${OPTIONS_MULTI_BACKEND}
|
|
|
|
OPTIONS_MULTI= BACKEND
|
|
|
|
OPTIONS_MULTI_BACKEND= NCURSES WAYLAND X11
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2019-10-26 15:18:36 +02:00
|
|
|
BACKEND_DESC= Backend
|
2019-03-07 12:33:20 +01:00
|
|
|
|
2019-10-26 15:18:36 +02:00
|
|
|
NCURSES_USES= ncurses
|
2020-04-12 14:42:18 +02:00
|
|
|
NCURSES_MAKE_ARGS= curses_CFLAGS="-I${NCURSESINC}" \
|
2021-09-23 18:18:56 +02:00
|
|
|
curses_LIBS="-L${NCURSESLIB} ${NCURSESLIBS}"
|
2020-04-12 14:42:18 +02:00
|
|
|
NCURSES_VARS= _BEMENU_RENDERERS+=curses
|
|
|
|
WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
|
2019-03-07 12:33:20 +01:00
|
|
|
WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
|
|
|
|
libwayland-client.so:graphics/wayland \
|
|
|
|
libxkbcommon.so:x11/libxkbcommon
|
2019-04-24 08:03:38 +02:00
|
|
|
WAYLAND_USES= gnome pkgconfig
|
2019-03-07 12:33:20 +01:00
|
|
|
WAYLAND_USE= GNOME=cairo,glib20,pango
|
2020-04-12 14:42:18 +02:00
|
|
|
WAYLAND_VARS= _BEMENU_RENDERERS+=wayland
|
2019-10-26 15:18:36 +02:00
|
|
|
X11_USES= gnome pkgconfig xorg
|
|
|
|
X11_USE= GNOME=cairo,glib20,pango \
|
|
|
|
XORG=x11,xinerama
|
2020-04-12 14:42:18 +02:00
|
|
|
X11_VARS= _BEMENU_RENDERERS+=x11
|
2019-03-07 12:33:20 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|