summaryrefslogtreecommitdiff
path: root/wm/libWindowsWM/Makefile
blob: 557e6be597a72fded3a50dae1b7548310c5fa0a4 (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
31
32
# $NetBSD: Makefile,v 1.4 2015/02/14 05:33:04 riastradh Exp $

DISTNAME=	libWindowsWM-1.0.1
CATEGORIES=	wm x11
MASTER_SITES=	${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	rodent@NetBSD.org
HOMEPAGE=	http://xorg.freedesktop.org/
COMMENT=	Cygwin/X rootless window management extension
LICENSE=	mit

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_LANGUAGES+=	c c++
USE_TOOLS+=	gsed pkg-config

PKGCONFIG_OVERRIDE+=	windowswm.pc.in

.include "../../mk/bsd.prefs.mk"

.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
# No harm in enabling this; the only harm might come from disabling it
# incorrectly.
CONFIGURE_ARGS+=	--enable-malloc0returnsnull
.endif

.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../wm/windowswmproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"