blob: 285f1e38da558e38cfd505c7696ce52efb8dabee (
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
43
44
45
|
# $NetBSD: Makefile,v 1.6 2001/03/23 12:36:54 drochner Exp $
#
DISTNAME= MesaLib-3.4.1
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.mesa3d.org/mesa/ \
${MASTER_SITE_SOURCEFORGE:=mesa3d/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.mesa3d.org/
COMMENT= Graphics library similar to SGI's OpenGL
CHECK_MESA= yes
USE_X11BASE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static
.include "../../mk/bsd.prefs.mk"
.if ${HAVE_BUILTIN_MESA} != "NO"
IGNORE= "MesaLib/GLX has already been installed as part of XFree-4.x"
.endif
do-build:
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
do-install:
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
post-install:
${INSTALL_DATA_DIR} ${X11PREFIX}/include/GL
.for hdr in gl.h gl_mangle.h glext.h glx.h glx_mangle.h osmesa.h \
xmesa.h xmesa_x.h xmesa_xf86.h
${INSTALL_DATA} ${WRKSRC}/include/GL/${hdr} ${X11PREFIX}/include/GL
.endfor
.include "../../mk/bsd.pkg.mk"
|