tracey 5fdbb32664 Import x11/xmenu-4.5.4
XMenu is a menu utility for X. XMenu receives a menu specification in stdin,
shows a menu for the user to select one of the options, and outputs the option
selected to stdout. XMenu can be controlled both via mouse and via keyboard.

ok solene@

Port submitted by Guy Godfroy, maintainer.
2021-03-10 17:21:30 +00:00

33 lines
661 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2021/03/10 17:21:30 tracey Exp $
COMMENT = contextual menu for X11
GH_ACCOUNT = phillbush
GH_PROJECT = xmenu
GH_TAGNAME = v4.5.4
CATEGORIES = x11
MAINTAINER = Guy Godfroy <guy.godfroy@gugod.fr>
HOMEPAGE = https://github.com/phillbush/xmenu
# MIT
PERMIT_PACKAGE =Yes
LIB_DEPENDS = graphics/imlib2
WANTLIB += Imlib2 X11 Xft Xinerama c fontconfig
MAKE_FLAGS = PREFIX=${PREFIX} \
FREETYPEINC=${X11BASE}/include/freetype2 \
MANPREFIX=${PREFIX}/man
NO_TEST = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xmenu
${INSTALL_DATA} ${WRKSRC}/xmenu.sh ${PREFIX}/share/examples/xmenu/
.include <bsd.port.mk>