summaryrefslogtreecommitdiff
path: root/x11-wm/wmfs/Makefile
blob: e987f288cff625157bed27a782ac854a45614b00 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$

PORTNAME=	wmfs
DISTVERSION=	201104
PORTREVISION=	4
CATEGORIES=	x11-wm
MASTER_SITES=	GHC

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Floating and tiling Window Manager From Scratch

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfreetype.so:print/freetype2

USE_GITHUB=	yes
GH_ACCOUNT=	xorg62

USES=		pkgconfig
USE_XORG=	x11 xft xpm
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix ${PREFIX} \
		--man-prefix ${MANPREFIX}/man \
		--xdg-config-dir ${PREFIX}/etc/xdg

SUB_FILES=	pkg-message

OPTIONS_DEFINE=		XRANDR XINERAMA IMLIB
OPTIONS_DEFAULT=	XRANDR XINERAMA IMLIB

XRANDR_USE=		XORG=xrandr
XRANDR_CONFIGURE_OFF=	--without-xrandr
XINERAMA_USE=		XORG=xinerama
XINERAMA_CONFIGURE_OFF=	--without-xinerama
IMLIB_LIB_DEPENDS=	libImlib2.so:graphics/imlib2
IMLIB_CONFIGURE_OFF=	--without-imlib2

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure

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

.include <bsd.port.mk>