blob: 2c2f95a05c333c7ebeb88b6ce82eca3b47f6c38c (
plain)
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
|
# $NetBSD: Makefile,v 1.33 2014/05/05 00:47:51 ryoon Exp $
DISTNAME= harfbuzz-0.9.28
PKGREVISION= 1
CATEGORIES= fonts
MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://harfbuzz.org/
COMMENT= OpenType text shaping engine
LICENSE= mit
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-cairo=no
CONFIGURE_ARGS+= --with-coretext=auto
PKGCONFIG_OVERRIDE+= src/harfbuzz.pc.in
PKGCONFIG_OVERRIDE+= src/harfbuzz-icu.pc.in
LDFLAGS.OpenBSD+= -lz
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
# gcc too old
.if ${OPSYS} == "MirBSD"
BUILDLINK_TRANSFORM+= rm:-fvisibility-inlines-hidden
.endif
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
#cairo is only needed for the hb-view command line utility
#BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.0
#.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|