aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libdrm/Makefile
blob: 061d22590c456a744d356c44ae85cb4135114d61 (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
# New ports collection makefile for:    libdrm
# Date created:             29 Dec 2005
# Whom:                 lesi@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   libdrm
PORTVERSION=    2.4.4
CATEGORIES= graphics x11
MASTER_SITES=   http://dri.freedesktop.org/libdrm/

MAINTAINER= x11@FreeBSD.org
COMMENT=    Userspace interface to kernel Direct Rendering Module services

BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs
RUN_DEPENDS+=   ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

pre-patch:
    @${REINPLACE_CMD} 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>