aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/cwm/Makefile
blob: 5ed61e0e9a2967ab88ff50b4b721cce9294f978a (plain) (blame)
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
PORTNAME=	cwm
DISTVERSION=	7.4
PORTREVISION= 	1
CATEGORIES=	x11-wm
MASTER_SITES=	https://leahneukirchen.org/releases/

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Minimalistic window manager for X11 based on evilwm
WWW=		https://github.com/leahneukirchen/cwm

LICENSE=	ISCL

USES=		pkgconfig xorg
USE_XORG=	x11 xft xrandr
MAKE_ARGS=	MANPREFIX="${PREFIX}/share/man"
PLIST_FILES=	bin/cwm \
		share/man/man1/cwm.1.gz \
		share/man/man5/cwmrc.5.gz

post-patch:
	@${REINPLACE_CMD} 's@/usr/X11R6@${LOCALBASE}@' ${WRKSRC}/cwmrc.5

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cwm

.include <bsd.port.mk>