diff options
Diffstat (limited to 'wm/velox/Makefile')
-rw-r--r-- | wm/velox/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/wm/velox/Makefile b/wm/velox/Makefile new file mode 100644 index 00000000000..0162c06d63a --- /dev/null +++ b/wm/velox/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1 2019/12/11 21:19:29 nia Exp $ + +DISTNAME= velox-0.0.3.20191211 +CATEGORIES= wm +MASTER_SITES= ${MASTER_SITE_GITHUB:=niacat/} +GITHUB_PROJECT= velox +GITHUB_TAG= 0c8f9cf8f46bdafff54cac5ae659c33904996a43 + +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 + +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" |