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

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

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

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYING

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

XORG_CAT=   lib
USE_XORG=   xorgproto 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>