aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libX11/Makefile
blob: 715e1d2203ff87fc444c8b57e505d311f3a0c019 (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
# New ports collection makefile for:   libX11
# Date Created:         28 Oct, 2003
# Whom:             Eric Anholt <anholt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libX11
PORTVERSION=    1.1.3
PORTEPOCH=  1
CATEGORIES= x11

MAINTAINER= x11@FreeBSD.org
COMMENT=    X11 library

.if defined(WITH_XCB)
BUILD_DEPENDS=  ${X11BASE}/libdata/pkgconfig/xcb-xlib.pc:${PORTSDIR}/x11/libxcb
RUN_DEPENDS=    ${BUILD_DEPENDS}
CONFIGURE_ARGS= --with-xcb=yes
PLIST_SUB+= XCB=""
.else
CONFIGURE_ARGS= --with-xcb=no
PLIST_SUB+= XCB="@comment "
.endif

XORG_CAT=   lib
USE_XORG=   bigreqsproto xau xdmcp xextproto xtrans xcmiscproto kbproto:both \
        inputproto:both xf86bigfontproto xproto:both
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ARGS+=    --enable-xdmauth --datadir=${PREFIX}/lib

.include "${.CURDIR}/manpages"
.include <bsd.port.mk>