aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gbm/Makefile
blob: fbfb16a0a8e02f58739f63a3cf4ce05495d420b4 (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
# Created by: kwm@FreeBSD.org
# $FreeBSD$

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

COMMENT=    gbm library

LIB_DEPENDS+=   libpthread-stubs.so:devel/libpthread-stubs \
        libexpat.so:textproc/expat2 \
        libdrm.so:graphics/libdrm \
        libglapi.so:graphics/libglapi

USE_XORG=   x11 xau xcb xdmcp

# stuff not needed by gbm but configure wants it
USE_XORG+=  glproto dri2proto xext xdamage xfixes presentproto \
        xshmfence

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

MESA_BUILD_WRKSRC=  src/mapi src/gbm
MESA_INSTALL_WRKSRC=    src/gbm

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

.include <bsd.port.mk>