aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/libXft/Makefile
blob: e43b9f8864629e3c2a2efa75e61abdd03c68b742 (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
# $FreeBSD$

PORTNAME=   libXft
PORTVERSION=    2.3.2
PORTREVISION=   1
CATEGORIES= x11-fonts

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Client-sided font API for X applications

LIB_DEPENDS=    libfreetype.so:print/freetype2 \
        libfontconfig.so:x11-fonts/fontconfig

XORG_CAT=   lib
USE_XORG=   xproto:both xrender
INSTALL_TARGET= install-strip

post-extract:
    @${CP} ${FILESDIR}/xft-config.in \
        ${WRKSRC}/xft-config.in

post-patch:
    @${REINPLACE_CMD} -e '/ac_config_files/s|xft\.pc|xft\.pc xft-config|' \
        ${WRKSRC}/configure

post-install:
    @${INSTALL_SCRIPT} ${WRKSRC}/xft-config \
        ${STAGEDIR}${PREFIX}/bin/

.include <bsd.port.mk>