aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libX11/Makefile
blob: 3df2bb763367b1b90241e35938991fb00778dde6 (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.2
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= x11

MAINTAINER= x11@FreeBSD.org
COMMENT=    X11 library

LICENSE=    MIT

USES=       perl5
XORG_CAT=   lib
USE_XORG=   bigreqsproto xau xcmiscproto xdmcp xextproto xtrans \
        kbproto:both inputproto xf86bigfontproto xproto:both \
        xcb
USE_PERL5=  build

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

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>