summaryrefslogtreecommitdiff
path: root/graphics/Mesa/Makefile.common
blob: f4d3b94c8bd28ee25618c7f8c029ffa7f02c9c64 (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
37
38
39
40
41
42
# $NetBSD: Makefile.common,v 1.62 2008/05/21 08:26:19 bjs Exp $
#
# This Makefile fragment is included either directly or indirectly (through
# Makefile.lib) by all packages that are built from the Mesa sources.
#
# used by graphics/Mesa/Makefile.lib

DISTNAME?=	MesaLib-${MESA_VERSION}
EXTRACT_SUFX=	.tar.bz2
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=mesa3d/}

# When changing this version, please run "make distinfo" in the following
# package directories:
#
#	graphics/MesaLib
#	graphics/MesaDemos
#	graphics/glx-utils
#
MESA_VERSION=		7.0.3
MESA_PKGVERSION=	${MESA_VERSION}${MESA_PATCHLEVEL}
MESA_PATCHFILES=	001 002 003
MESA_PATCHLEVEL=	${MESA_PATCHFILES:O:[-1]:C|^[0^]*|.|}

PATCHFILES=		${MESA_PATCHFILES:@.p.@Mesa-${MESA_VERSION}-${.p.}@}
PATCH_SITES=		ftp://ftp.NetBSD.org/pub/NetBSD/misc/bjs/patchfiles/
PATCH_DIST_STRIP=	-p1

MAINTAINER=		bjs@NetBSD.org
HOMEPAGE=		http://www.mesa3d.org/

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=			${WRKDIR}/Mesa-${MESA_VERSION}
BUILDING_MESA=		yes
NO_CONFIGURE=		yes
DIST_SUBDIR=		Mesa-${MESA_VERSION}

.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"