openbsd-ports/x11/pmenu/Makefile
2022-03-11 20:15:18 +00:00

39 lines
946 B
Makefile

COMMENT = contextual radial menu for X11
GH_ACCOUNT = phillbush
GH_PROJECT = pmenu
GH_TAGNAME = v2.2.0
REVISION = 0
CATEGORIES = x11
MAINTAINER = Jerome Kasper <neon.king.fr@gmail.com>
HOMEPAGE = https://github.com/phillbush/pmenu
# MIT
PERMIT_PACKAGE =Yes
WANTLIB += Imlib2 X11 Xext Xft Xinerama Xrender c fontconfig m
LIB_DEPENDS = graphics/imlib2
DEBUG_PACKAGES =${BUILD_PACKAGES}
NO_TEST = Yes
MAKE_FLAGS = FREETYPEINC=${X11BASE}/include/freetype2 \
MANPREFIX=${PREFIX}/man
# ${WRKSRC}/config.mk ignores the environment, i.e. it should append to
# (`+=') not set (`=') variables.
# XXX CPPFLAGS is empty added to the end; abuse it to avoid patches and pass
# CFLAGS such that DEBUG is honoured as required for DEBUG_PACKAGES to work.
MAKE_FLAGS += CPPFLAGS='${CFLAGS}'
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pmenu
${INSTALL_DATA} ${WRKSRC}/pmenu.sh ${PREFIX}/share/examples/pmenu/
.include <bsd.port.mk>