aboutsummaryrefslogtreecommitdiffstats
path: root/print/harfbuzz/Makefile
blob: 7ba7b59fe58803276abe6fd5005d0fe1f5598863 (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
35
36
37
38
39
40
41
42
43
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$

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

MAINTAINER= gnome@FreeBSD.org
COMMENT?=   OpenType text shaping engine

LIB_DEPENDS=    libfreetype.so:print/freetype2 \
        libgraphite2.so:graphics/graphite2

USE_LDCONFIG=   yes
USES=       gettext-runtime gmake gnome libtool \
        pathfix pkgconfig tar:bzip2
USE_GNOME=  cairo glib20 introspection:build
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-graphite2 --with-gobject=yes
INSTALL_TARGET= install-strip
TEST_TARGET=    check

PLIST_SUB+= LIBVER=0.10501.0

HARFBUZZ_SLAVE?=    no

.if ${HARFBUZZ_SLAVE} == no
CONFIGURE_ARGS+=    --without-icu
.else
CONFIGURE_ARGS+=    --with-icu \
        --disable-gtk-doc-html
USES+=      compiler:c++0x
LIB_DEPENDS+=   libharfbuzz.so:print/harfbuzz \
        libicudata.so:devel/icu

post-patch:
    ${REINPLACE_CMD} -e 's|install-data-am: install-data-local|install-data-am:|g' \
        ${WRKSRC}/docs/Makefile.in
.endif

.include <bsd.port.mk>