2004-03-15 18:30:18 +01:00
|
|
|
# $NetBSD: Makefile,v 1.5 2004/03/15 17:30:18 recht Exp $
|
2003-12-04 15:40:39 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= libXrandr-1.0.1
|
|
|
|
PKGNAME= Xrandr-1.0.1
|
|
|
|
CATEGORIES= x11 devel
|
|
|
|
MASTER_SITES= http://freedesktop.org/~xlibs/dist/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
|
|
|
HOMEPAGE= http://freedesktop.org/
|
|
|
|
COMMENT= X RandR extension (Library)
|
|
|
|
|
2004-02-16 23:45:34 +01:00
|
|
|
USE_BUILDLINK3= yes
|
2003-12-04 15:40:39 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= xrandr.pc.in
|
2003-12-04 15:40:39 +01:00
|
|
|
|
2004-02-16 23:45:34 +01:00
|
|
|
BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8
|
2003-12-04 15:40:39 +01:00
|
|
|
|
2004-03-15 18:30:18 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# Xrandr won't build without the X Extension library which is only present
|
|
|
|
# in XFree86>=4.3.
|
|
|
|
.if !exists(${X11BASE}/include/X11/extensions/extutil.h)
|
|
|
|
PKG_FAIL_REASON= "${PKGNAME} won't build without the X Extension"
|
|
|
|
PKG_FAIL_REASON+= "library which is only present in XFree86>=4.3."
|
|
|
|
.endif
|
|
|
|
|
2004-02-16 23:45:34 +01:00
|
|
|
.include "../../x11/randrext/buildlink3.mk"
|
|
|
|
.include "../../x11/Xrender/buildlink3.mk"
|
|
|
|
.include "../../devel/pkgconfig/buildlink3.mk"
|
2003-12-04 15:40:39 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|