aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libX11/Makefile
blob: a810c2fcb0ac95bdfa4b3362a65b6494e6ae3d50 (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
# Created by: Eric Anholt <anholt@FreeBSD.org>
# $FreeBSD$

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

MAINTAINER= x11@FreeBSD.org
COMMENT=    X11 library

LICENSE=    MIT

XORG_CAT=   lib
USE_XORG=   bigreqsproto xau xcmiscproto xdmcp xextproto xtrans \
        kbproto:both inputproto xf86bigfontproto xproto:both \
        xcb
USE_PERL5_BUILD=yes

CONFIGURE_ARGS+=    --datadir=${PREFIX}/lib \
            --without-xmlto \
            --disable-specs
CONFIGURE_ENV+= ac_cv_path_PS2PDF=""

.include "${.CURDIR}/manpages"

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

.include <bsd.port.mk>