[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / wm / shod

File: [cvs.NetBSD.org] / pkgsrc / wm / shod / Makefile (download)

Revision 1.5, Mon Mar 14 10:22:49 2022 UTC (4 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.4: +2 -2 lines

wm/shod: update to 2.4.0

-Several changes in the names of X resources
-Add -s and -m
-Add window rules and deskapp ordering

# $NetBSD: Makefile,v 1.5 2022/03/14 10:22:49 pin Exp $

DISTNAME=	shod-2.4.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+=		makefile
SUBST_MESSAGE.makefile=	Adjust Makefile
SUBST_STAGE.makefile=	pre-configure
SUBST_FILES.makefile+=	Makefile
SUBST_SED.makefile+=	-e 's,/usr/local,${PREFIX},g'
SUBST_SED.makefile+=	-e 's,/usr/X11R6,${X11BASE},g'
SUBST_SED.makefile+=	-e 's,share/man,${PKGMANDIR},g'
SUBST_SED.makefile+=	-e 's,^CFLAGS *= ,CFLAGS += ,'
SUBST_SED.makefile+=	-e 's,^LDFLAGS *= ,LDFLAGS += ,'
SUBST_SED.makefile+=	-e 's/cc/${CC:Q}/'

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/shod ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/shodc ${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"