summaryrefslogtreecommitdiff
path: root/x11/randrext/Makefile
blob: a1f43f61b8b53dc3ef35c107c501fbd4c53b2395 (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
# $NetBSD: Makefile,v 1.4 2004/03/15 17:30:18 recht Exp $

DISTNAME=		randrext-1.0
CATEGORIES=		x11 devel
MASTER_SITES=		http://freedesktop.org/~xlibs/release/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		xtraeme@NetBSD.org
HOMEPAGE=		http://freedesktop.org/
COMMENT=		RandR extension (Headers and documentation files)

USE_BUILDLINK3=		yes
GNU_CONFIGURE=		yes

PKGCONFIG_OVERRIDE+=    randr.pc.in

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

# Xrandr won't build without the X Extension library which is only present
# in XFree86>=4.3. For this reason we don't need the header files.
.if !exists(${X11BASE}/include/X11/extensions/extutil.h)
PKG_SKIP_REASON=	"Xrandr won't build without the X Extension"
PKG_SKIP_REASON+=	"library which is only present in XFree86>=4.3."
PKG_SKIP_REASON+=	"For this reason we don't need the header files."
.endif

.include "../../mk/bsd.pkg.mk"