Annotation of pkgsrc/fonts/harfbuzz/Makefile, Revision 1.34
1.34 ! pho 1: # $NetBSD: Makefile,v 1.33 2014/05/05 00:47:51 ryoon Exp $
1.1 adam 2:
1.32 wiz 3: DISTNAME= harfbuzz-0.9.28
1.34 ! pho 4: PKGREVISION= 2
1.1 adam 5: CATEGORIES= fonts
6: MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/
7: EXTRACT_SUFX= .tar.bz2
8:
9: MAINTAINER= pkgsrc-users@NetBSD.org
10: HOMEPAGE= http://harfbuzz.org/
11: COMMENT= OpenType text shaping engine
12: LICENSE= mit
13:
14: PKG_INSTALLATION_TYPES= overwrite pkgviews
15:
16: USE_LANGUAGES= c c++
17: USE_LIBTOOL= yes
18: USE_TOOLS+= gmake pkg-config
19: GNU_CONFIGURE= yes
1.18 wiz 20: CONFIGURE_ARGS+= --with-cairo=no
1.1 adam 21:
1.21 adam 22: PKGCONFIG_OVERRIDE+= src/harfbuzz.pc.in
23: PKGCONFIG_OVERRIDE+= src/harfbuzz-icu.pc.in
1.20 jaapb 24:
1.5 ryoon 25: LDFLAGS.OpenBSD+= -lz
26:
1.21 adam 27: .include "options.mk"
28:
1.14 bsiegert 29: .include "../../mk/bsd.prefs.mk"
30:
31: # gcc too old
32: .if ${OPSYS} == "MirBSD"
33: BUILDLINK_TRANSFORM+= rm:-fvisibility-inlines-hidden
34: .endif
35:
1.34 ! pho 36: PLIST_VARS+= coretext
! 37:
! 38: .if ${OPSYS} == "Darwin"
! 39: . if !empty(OS_VERSION:M[0-8].*)
! 40: # MacOS X < 10.5 does not have CoreText.
! 41: CONFIGURE_ARGS+= --with-coretext=no
! 42:
! 43: . elif !empty(OS_VERSION:M9.*)
! 44: # MacOS X 10.5 has CoreText but it's
! 45: # buggy. CTLineCreateWithAttributedString() seemingly fails when
! 46: # trying to use a font which isn't installed into the system standard
! 47: # path.
! 48: # See http://forum.libcinder.org/topic/text-not-working-in-leopard-osx-10-5
! 49: CONFIGURE_ARGS+= --with-coretext=no
! 50:
! 51: . else
! 52: CONFIGURE_ARGS+= --with-coretext=yes
! 53: PLIST.coretext= yes
! 54: . endif
! 55: .endif
! 56:
1.1 adam 57: .include "../../devel/glib2/buildlink3.mk"
1.5 ryoon 58: .include "../../devel/zlib/buildlink3.mk"
1.18 wiz 59: #cairo is only needed for the hb-view command line utility
60: #BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.0
1.9 drochner 61: #.include "../../graphics/cairo/buildlink3.mk"
1.1 adam 62: .include "../../graphics/freetype2/buildlink3.mk"
63: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>