# Created by: Koop Mast # $FreeBSD$ PORTNAME= harfbuzz PORTVERSION= 2.6.1 PORTREVISION?= 1 CATEGORIES= print MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/ MAINTAINER= gnome@FreeBSD.org COMMENT?= OpenType text shaping engine LICENSE= MIT LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgraphite2.so:graphics/graphite2 USES= compiler:c++11-lib gettext-runtime gmake gnome libtool \ pathfix pkgconfig tar:xz USE_GNOME= glib20 introspection:build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-graphite2 --with-gobject=yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check PLIST_SUB+= LIBVER=0.20600.1 HARFBUZZ_SLAVE?= no .if ${HARFBUZZ_SLAVE} == no CONFIGURE_ARGS+= --without-icu --without-cairo .elif ${HARFBUZZ_SLAVE} == icu CONFIGURE_ARGS+= --with-icu \ --without-cairo \ --disable-gtk-doc-html LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \ libicudata.so:devel/icu .elif ${HARFBUZZ_SLAVE} == hb-view CONFIGURE_ARGS+= --with-cairo \ --without-icu LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz USE_GNOME+= cairo .endif .if ${HARFBUZZ_SLAVE} != no post-patch: ${REINPLACE_CMD} -e 's|install-data-am: install-data-local|install-data-am:|g' \ ${WRKSRC}/docs/Makefile.in .endif .include