aboutsummaryrefslogtreecommitdiffstats
path: root/print/harfbuzz/Makefile
blob: c8b07902d8e2436ee3bf75f373d44584c0e8e93e (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
34
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   harfbuzz
PORTVERSION=    0.9.16
PORTREVISION=   1
CATEGORIES= print
MASTER_SITES=   http://www.freedesktop.org/software/harfbuzz/release/

MAINTAINER= kwm@FreeBSD.org
COMMENT=    OpenType text shaping engine

LIB_DEPENDS=    freetype:${PORTSDIR}/print/freetype2 \
        icudata:${PORTSDIR}/devel/icu \
        graphite2:${PORTSDIR}/graphics/graphite2

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USES=       pathfix pkgconfig
USE_GNOME=  cairo glib20 ltverhack
USE_AUTOTOOLS=  libtool

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 1000024
EXTRA_PATCHES=  ${PATCHDIR}/extra-src_hb-open-type-private.hh
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|^build_old_libs=yes|build_old_libs=no|g' \
        ${WRKDIR}/gnome-libtool

.include <bsd.port.post.mk>