summaryrefslogtreecommitdiff
path: root/wm/scrotwm/Makefile
blob: 26e1a006f2a7513970e51a00c3cfaa26ad021ec8 (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
# $NetBSD: Makefile,v 1.1.1.1 2009/02/21 15:15:29 wiz Exp $
#

DISTNAME=	scrotwm-0.9.1
CATEGORIES=	wm
MASTER_SITES=	http://www.peereboom.us/scrotwm/snapshot/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.peereboom.us/scrotwm/html/scrotwm.html
COMMENT=	Small dynamic tiling window manager for X11

BUILDLINK_TRANSFORM+=	rm:-Werror
PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/examples/scrotwm

post-extract:
	${MV} ${WRKSRC}/linux/linux.c ${WRKSRC}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/scrotwm ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/scrotwm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKSRC}/*.conf ${DESTDIR}${PREFIX}/share/examples/scrotwm
	${INSTALL_DATA} ${WRKSRC}/*.sh ${DESTDIR}${PREFIX}/share/examples/scrotwm

.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"