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

PORTNAME=	harfbuzz
PORTVERSION=	0.9.19
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_LDCONFIG=	yes
USES=		gmake pathfix pkgconfig
USE_GNOME=	cairo glib20 ltverhack
USE_AUTOTOOLS=	libtool
CONFIGURE_ARGS=	--with-graphite2

.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>