blob: 8ca63a11fd3cd7187363adf269f7c3a835e39938 (
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= bemenu
DISTVERSION= 0.5.0
CATEGORIES= x11 wayland
MAINTAINER= ports@FreeBSD.org
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_GITHUB= yes
GH_ACCOUNT= Cloudef
USE_LDCONFIG= yes
MAKEFILE= ${FILESDIR}/Makefile
MAKE_ARGS= RENDERERS="${_BEMENU_RENDERERS}" \
VERSION=${DISTVERSION}
PLIST_SUB= SOVERSION=${DISTVERSION}
OPTIONS_DEFAULT= ${OPTIONS_MULTI_BACKEND}
OPTIONS_MULTI= BACKEND
OPTIONS_MULTI_BACKEND= NCURSES WAYLAND X11
OPTIONS_SUB= yes
BACKEND_DESC= Backend
NCURSES_USES= ncurses
NCURSES_MAKE_ARGS= curses_CFLAGS="-I${NCURSESINC}" \
curses_LIBS="-L${NCURSESLIB} -l${NCURSES_IMPL}"
NCURSES_VARS= _BEMENU_RENDERERS+=curses
WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
WAYLAND_USES= gnome pkgconfig
WAYLAND_USE= GNOME=cairo,glib20,pango
WAYLAND_VARS= _BEMENU_RENDERERS+=wayland
X11_USES= gnome pkgconfig xorg
X11_USE= GNOME=cairo,glib20,pango \
XORG=x11,xinerama
X11_VARS= _BEMENU_RENDERERS+=x11
.include <bsd.port.mk>
|