aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/libXft/Makefile
blob: 1e96411ec3c525f6b0e20f40a7ae402622be19de (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
#Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libXft
PORTVERSION=    2.3.1
CATEGORIES= x11-fonts

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

LIB_DEPENDS=    freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS=  fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS=    fc-cache:${PORTSDIR}/x11-fonts/fontconfig

XORG_CAT=   lib
USE_XORG=   xproto:both xrender

MAN3=       Xft.3

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 \
        ${PREFIX}/bin/

.include <bsd.port.mk>