File: [cvs.NetBSD.org] / pkgsrc / wm / shod / Makefile (download)
Revision 1.1, Mon Aug 30 14:39:24 2021 UTC (10 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
wm/shod: import package
Shod is an hybrid (tiling and floating) multimonitor X11 window manager.
Shod sets no keybindings; reads no configuration other than X resources;
and works only via mouse with a given key modifier (Alt by default), and
by responding to client messages with EWMH hints (so you must use wmctrl
to control shod).
NOTE: shod provides no keybindings, use sxhkd for binding keys.
WARNING: Shod is attempt of mine to write a Wm and better understand how
X11 works, Shod is only meant for me for educational purposes.
Shod is an experimental project, and should be used with caution.
|
# $NetBSD: Makefile,v 1.1 2021/08/30 14:39:24 pin Exp $
DISTNAME= shod-0.5.0
CATEGORIES= wm
MASTER_SITES= ${MASTER_SITE_GITHUB:=phillbush/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/phillbush/shod/
COMMENT= Hybrid (floating and tiling) tabbed window manager
LICENSE= mit
SUBST_CLASSES+= configmk
SUBST_MESSAGE.configmk= Adjust config.mk
SUBST_STAGE.configmk= pre-configure
SUBST_FILES.configmk+= config.mk
SUBST_SED.configmk+= -e 's,/usr/local,${PREFIX},g'
SUBST_SED.configmk+= -e 's,/usr/X11R6,${X11BASE},g'
SUBST_SED.configmk+= -e 's,share/man,${PKGMANDIR},g'
SUBST_SED.configmk+= -e 's,^CFLAGS *= ,CFLAGS += ,'
SUBST_SED.configmk+= -e 's,^LDFLAGS *= ,LDFLAGS += ,'
SUBST_SED.configmk+= -e 's/cc/${CC:Q}/'
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/shod ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/shod.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
DEPENDS+= wmctrl-[0-9]*:../../wm/wmctrl
DEPENDS+= sxhkd-[0-9]*:../../x11/sxhkd
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"