aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libGL/Makefile
blob: 184e3d96ea785bf23e376bad9d6f90554e2f14ef (plain) (blame)
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
# Created by: Eric Anholt <anholt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libGL
PORTVERSION=    ${MESAVERSION}
PORTREVISION=   0
CATEGORIES= graphics

COMMENT=    OpenGL library that renders using GLX or DRI

LIB_DEPENDS+=   libdrm.so:graphics/libdrm \
        libglapi.so:graphics/libglapi \
        libexpat.so:textproc/expat2

USE_XORG=   glproto x11 xext xxf86vm xdamage xfixes dri2proto:both \
        presentproto xshmfence xcb

.include <bsd.port.options.mk>
.include "${.CURDIR}/Makefile.common"

MESA_BUILD_WRKSRC=  src/mapi src/glx
MESA_INSTALL_WRKSRC=    src/glx

.include "${.CURDIR}/Makefile.targets"

post-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/lib/.mesa
    @${MV} ${STAGEDIR}${PREFIX}/lib/libGL* \
        ${STAGEDIR}${PREFIX}/lib/.mesa/
    @cd ${WRKSRC}/src && ${SETENV} DESTDIR=${STAGEDIR} \
        ${MAKE_CMD} install-pkgconfigDATA install-glHEADERS \
        install-glxHEADERS

.include <bsd.port.mk>
ed761fcc509d6f8f04fd24757dcb484d'>This is PHP extension which provides a Mysql 3.x/4.x driver for PDO.pav2005-09-14