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

PORTNAME=	libX11
PORTVERSION=	1.1.2
PORTREVISION=	1
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>
OpenPOWER on IntegriCloud