summaryrefslogtreecommitdiff
path: root/x11/randrext/Makefile
blob: 32b0950a6c1c14ca9bfd418cfe10d15ee2d05c4a (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
# $NetBSD: Makefile,v 1.8 2004/05/07 01:14:51 xtraeme Exp $

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

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://xlibs.freedesktop.org/
COMMENT=		X RandR extension (Headers and documentation files)

PKG_INSTALLATION_TYPES=	overwrite pkgviews

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"