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

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

MAINTAINER= x11@FreeBSD.org
COMMENT=    X11 library

BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/xcb.pc:${PORTSDIR}/x11/libxcb \
        ${LOCALBASE}/share/aclocal/xorg-macros.m4:${PORTSDIR}/devel/xorg-macros
RUN_DEPENDS+=   ${LOCALBASE}/libdata/pkgconfig/xcb.pc:${PORTSDIR}/x11/libxcb

XORG_CAT=   lib
USE_XORG=   bigreqsproto xau xcmiscproto xdmcp xextproto xtrans \
        kbproto:both inputproto xf86bigfontproto xproto:both
CONFIGURE_ARGS+=    --datadir=${PREFIX}/lib \
            --with-xcb=yes \
            --disable-specs
CONFIGURE_ENV+= ac_cv_path_PS2PDF=""

.include "${.CURDIR}/manpages"

post-patch:
    @${REINPLACE_CMD} '/^install-data-am:/,/^$$/ \
        s/install-specDATA//' ${WRKSRC}/nls/Makefile.in

.include <bsd.port.mk>