summaryrefslogtreecommitdiff
path: root/wm/bspwm/Makefile
blob: a2db13bb30144dc32307ed1881b18655ad93cb18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.5 2017/05/31 05:22:09 maya Exp $

DISTNAME=		bspwm-0.9.2
CATEGORIES=		wm
MASTER_SITES=		${MASTER_SITE_GITHUB:=baskerville/}
GITHUB_TAG=		${PKGVERSION_NOREV}

MAINTAINER=		youri@NetBSD.org
HOMEPAGE=		https://github.com/baskerville/bspwm
COMMENT=		Binary space partitioning window manager
LICENSE=		2-clause-bsd

USE_TOOLS+=		gmake bash:run

LDFLAGS.SunOS+=		-lsocket -lnsl

EXAMPLESDIR=		${PREFIX}/share/examples/bspwm
INSTALLATION_DIRS=	share/examples/bspwm

SUBST_CLASSES+=		makefile
SUBST_STAGE.makefile=	pre-build
SUBST_MESSAGE.makefile=	Fixing makefile
SUBST_FILES.makefile=	Makefile
SUBST_SED.makefile=	-e 's,share/man,${PKGMANDIR},1'
SUBST_SED.makefile+=	-e 's,examples,examples/*,1'
SUBST_SED.makefile+=	-e 's,$$(DOCPREFIX)"/examples,${EXAMPLESDIR}",1'

.include "../../x11/xcb-util/buildlink3.mk"
.include "../../x11/xcb-util-wm/buildlink3.mk"
.include "../../x11/xcb-util-keysyms/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"