ajacoutot 60721b5f54 Update to harfbuzz-0.9.18.
There is a major change in the port: the library has been split into 2
subpackages:
-main
-icu which provides ICU support
This allows not to force everything to link against libicu.

Breakage *is* expected but a bulk will be run shortly to cope with that
and a hackathon is a good time to do that.
Webkit is being worked on by myself.
2013-05-31 15:28:36 +00:00

59 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2013/05/31 15:28:36 ajacoutot Exp $
COMMENT-main= text shaping library
COMMENT-icu= ICU support for libharfbuzz
V= 0.9.18
DISTNAME= harfbuzz-${V}
EXTRACT_SUFX= .tar.bz2
PKGNAME-main= harfbuzz-${V}
PKGNAME-icu= harfbuzz-icu-${V}
SHARED_LIBS += harfbuzz 4.0 # 918.0
SHARED_LIBS += harfbuzz-icu 0.0 # 918.0
CATEGORIES= devel graphics textproc
HOMEPAGE= http://www.freedesktop.org/wiki/Software/HarfBuzz
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ffi freetype glib-2.0 gobject-2.0 graphite2 m pcre pthread
WANTLIB += stdc++ z
MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/
MULTI_PACKAGES= -main -icu
MODULES= devel/gettext
USE_GMAKE= Yes
WANTLIB-main += ${WANTLIB}
WANTLIB-main += X11 Xext Xrender c cairo expat fontconfig pixman-1
WANTLIB-main += png pthread-stubs xcb xcb-render xcb-shm
WANTLIB-icu += ${WANTLIB}
WANTLIB-icu += harfbuzz icudata icuuc
LIB_DEPENDS-main= ${MODGETTEXT_LIB_DEPENDS} \
graphics/cairo \
graphics/graphite2
LIB_DEPENDS-icu= devel/harfbuzz,-main=${V} \
textproc/icu4c
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-icu \
--with-graphite2
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/check-symbols.sh
.include <bsd.port.mk>