summaryrefslogtreecommitdiff
path: root/sysutils/libpciaccess/Makefile
blob: 5917de4fb2472f4194a764448adc08d235f8632b (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
33
34
35
36
# $NetBSD: Makefile,v 1.1.1.1 2008/10/30 20:58:11 bjs Exp $
#

DISTNAME=	libpciaccess-0.10.4
CATEGORIES=	sysutils x11
MASTER_SITES=	${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	bjs@NetBSD.org
HOMEPAGE=	http://xorg.freedesktop.org/
COMMENT=	PCI access utility library from X.org

PKG_DESTDIR_SUPPORT=	user-destdir
###
### XXX This list is probably not exhaustive.
###
ONLY_FOR_PLATFORM=	FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386
ONLY_FOR_PLATFORM+=	FreeBSD-*-x86_64 NetBSD-*-x86_64 OpenBSD-*-x86_64
ONLY_FOR_PLATFORM+=	DragonFly-i386-* DragonFly-x86_64-*
ONLY_FOR_PLATFORM+=	Linux-*-* SunOS-*-*

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config
###
### XXX When our patches make it upstream, this will no longer be
###	necessary.
###
USE_TOOLS+=	autoconf automake autoreconf

PKGCONFIG_OVERRIDE+=	pciaccess.pc.in

pre-configure:
	cd ${WRKSRC} && autoreconf -v -i -f

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