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

PORTNAME=   harfbuzz
PORTVERSION=    0.9.16
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

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USES=       pathfix pkgconfig
USE_GNOME=  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>