2020-08-14 07:17:46 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.124 2020/08/14 07:17:46 ajacoutot Exp $
|
2015-07-24 22:41:50 +00:00
|
|
|
|
|
|
|
BROKEN-hppa= no atomic primitives
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2013-05-31 15:28:36 +00:00
|
|
|
COMMENT-main= text shaping library
|
|
|
|
COMMENT-icu= ICU support for libharfbuzz
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2020-07-27 06:55:43 +00:00
|
|
|
GH_ACCOUNT= harfbuzz
|
|
|
|
GH_PROJECT= harfbuzz
|
2020-08-14 07:17:46 +00:00
|
|
|
GH_TAGNAME= 2.7.1
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2020-07-27 06:55:43 +00:00
|
|
|
PKGNAME-main= harfbuzz-${GH_TAGNAME}
|
|
|
|
PKGNAME-icu= harfbuzz-icu-${GH_TAGNAME}
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2020-08-14 07:17:46 +00:00
|
|
|
SHARED_LIBS += harfbuzz 15.4 # 0.20701.0
|
|
|
|
SHARED_LIBS += harfbuzz-subset 0.2 # 0.20701.0
|
|
|
|
SHARED_LIBS += harfbuzz-icu 1.2 # 0.20701.0
|
|
|
|
SHARED_LIBS += harfbuzz-gobject 0.3 # 0.20701.0
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2013-05-31 15:28:36 +00:00
|
|
|
CATEGORIES= devel graphics textproc
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2013-05-31 15:28:36 +00:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2012-09-20 13:42:23 +00:00
|
|
|
|
|
|
|
# MIT
|
2019-07-13 09:24:31 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2020-08-14 07:17:46 +00:00
|
|
|
WANTLIB-main += c c++ cairo freetype glib-2.0 gobject-2.0 graphite2 m
|
2019-05-17 16:45:25 +00:00
|
|
|
|
2020-07-27 06:55:43 +00:00
|
|
|
WANTLIB-icu += harfbuzz icuuc
|
2013-05-31 15:28:36 +00:00
|
|
|
|
|
|
|
MULTI_PACKAGES= -main -icu
|
|
|
|
|
2019-11-10 21:44:06 +00:00
|
|
|
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
|
|
|
|
2013-05-31 15:28:36 +00:00
|
|
|
USE_GMAKE= Yes
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2017-10-26 09:46:34 +00:00
|
|
|
# C++11
|
2018-11-15 19:22:00 +00:00
|
|
|
COMPILER= base-clang ports-gcc ports-clang
|
2017-10-26 09:46:34 +00:00
|
|
|
|
2020-07-27 06:55:43 +00:00
|
|
|
MODULES= devel/meson
|
2020-06-06 09:54:45 +00:00
|
|
|
|
2015-01-25 12:42:48 +00:00
|
|
|
BUILD_DEPENDS= devel/gobject-introspection
|
2015-01-24 08:38:16 +00:00
|
|
|
|
2020-07-27 06:55:43 +00:00
|
|
|
LIB_DEPENDS-main= graphics/cairo \
|
2013-05-31 15:28:36 +00:00
|
|
|
graphics/graphite2
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2020-07-27 06:55:43 +00:00
|
|
|
LIB_DEPENDS-icu= devel/harfbuzz,-main=${GH_TAGNAME} \
|
2013-05-31 15:28:36 +00:00
|
|
|
textproc/icu4c
|
2012-09-20 13:42:23 +00:00
|
|
|
|
2020-07-27 06:55:43 +00:00
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
.if !${PROPERTIES:Mclang}
|
|
|
|
# needed for estdc++ in WANTLIB
|
2020-08-01 22:41:28 +00:00
|
|
|
LIB_DEPENDS-main += ${LIB_DEPENDS}
|
2020-07-27 06:55:43 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= -Dgraphite=enabled \
|
|
|
|
-Ddocs=disabled
|
2012-09-20 13:42:23 +00:00
|
|
|
|
|
|
|
pre-configure:
|
2020-06-06 09:54:45 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/src/check-symbols.py
|
2012-09-20 13:42:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|