File:  [cvs.NetBSD.org] / pkgsrc / wm / 2bwm / Makefile
Revision 1.5: download - view: text, annotated - select for diffs
Wed Aug 2 16:17:19 2023 UTC (15 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
*: Use FORCE_C_STD=c99 for C packages that use for loop initial
declarations without setting -std=c99.

# $NetBSD: Makefile,v 1.5 2023/08/02 16:17:19 nia Exp $

DISTNAME=	2bwm-0.3
CATEGORIES=	wm
MASTER_SITES=	${MASTER_SITE_GITHUB:=venam/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	youri@NetBSD.org
HOMEPAGE=	https://github.com/venam/2bwm
COMMENT=	Fast floating WM written over the XCB library and derived from mcwm
LICENSE=	isc

# error: 'for' loop initial declarations are only allowed in C99 mode
FORCE_C_STD=	c99

SUBST_CLASSES+=		makefile
SUBST_STAGE.makefile=	pre-build
SUBST_MESSAGE.makefile=	Fixing makefile
SUBST_FILES.makefile=	Makefile
SUBST_SED.makefile=	-e 's,/usr/local,${PREFIX},g'
SUBST_SED.makefile+=	-e 's,share/man,${PKGMANDIR},g'

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

CVSweb <webmaster@jp.NetBSD.org>