[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / fonts / harfbuzz

Annotation of pkgsrc/fonts/harfbuzz/Makefile, Revision 1.104

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

CVSweb <webmaster@jp.NetBSD.org>