aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xcb-util/Makefile
blob: dda1458ac7bd1f87247b3efe2fad32a0e358ec94 (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: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
# $FreeBSD$

PORTNAME=   xcb-util
PORTVERSION=    0.3.9
PORTEPOCH=  1
CATEGORIES= x11
MASTER_SITES=   http://xcb.freedesktop.org/dist/

MAINTAINER= garga@FreeBSD.org
COMMENT=    A module with libxcb/libX11 extension/replacement libraries

LIB_DEPENDS=    xcb:${PORTSDIR}/x11/libxcb
BUILD_DEPENDS=  ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_XORG=   xau xdmcp
USE_AUTOTOOLS=  libtool

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  GPERF="${LOCALBASE}/bin/gperf"

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

.include <bsd.port.mk>