summaryrefslogtreecommitdiff
path: root/x11-wm/cwm/Makefile
blob: ce0415739846f004d73287ae58e56173f9c22af0 (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

PORTNAME=	cwm
DISTVERSION=	6.7
CATEGORIES=	x11-wm
MASTER_SITES=	https://leahneukirchen.org/releases/

MAINTAINER=	me@emilengler.com
COMMENT=	Minimalistic window manager for X11 based on evilwm

LICENSE=	ISCL

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2

USES=		pkgconfig xorg
USE_XORG=	x11 xft xrandr
MAKE_ARGS=	MANPREFIX="${MANPREFIX}/man"
PLIST_FILES=	bin/cwm \
		man/man1/cwm.1.gz \
		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>