pkgsrc/wm/velox/Makefile
nia 70ed1c6295 velox: Update to 0.0.3.20191211
Changes: added support for kqueue in status_bar, resolving issues with
CPU usage and the clock not appearing.
2020-01-11 17:31:50 +00:00

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2020/01/11 17:31:50 nia Exp $
DISTNAME= velox-0.0.3.20200111
CATEGORIES= wm
MASTER_SITES= ${MASTER_SITE_GITHUB:=niacat/}
GITHUB_PROJECT= velox
GITHUB_TAG= 816aa339c749d722899dd1d33a4079694e6ca0b1
MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://github.com/niacat/velox
COMMENT= Simple Wayland tiling window manager
LICENSE= mit
# Used by the panel, you get poor font rendering otherwise.
DEPENDS+= terminus-font-[0-9]*:../../fonts/terminus-font
# Used for launching software.
DEPENDS+= dmenu-wld-[0-9]*:../../sysutils/dmenu-wld
USE_TOOLS+= gmake pkg-config
MAKE_FLAGS+= CC=${CC:Q}
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
EGDIR= ${PREFIX}/share/examples/velox
CONF_FILES+= ${EGDIR}/velox.conf ${PKG_SYSCONFDIR}/velox.conf
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure
SUBST_MESSAGE.conf= Correcting the path to the configuration file.
SUBST_FILES.conf+= config.c
SUBST_SED.conf+= -e 's|/etc/velox.conf|${PKG_SYSCONFDIR}/velox.conf|g'
PKGCONFIG_OVERRIDE+= velox.pc.in
INSTALLATION_DIRS+= ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/velox.conf.sample \
${DESTDIR}${EGDIR}/velox.conf
.include "../../wm/swc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"