63 lines
1.3 KiB
Makefile
Raw Normal View History

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
COMMENT-main= text shaping library
COMMENT-icu= ICU support for libharfbuzz
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
2020-07-27 06:55:43 +00:00
PKGNAME-main= harfbuzz-${GH_TAGNAME}
PKGNAME-icu= harfbuzz-icu-${GH_TAGNAME}
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
CATEGORIES= devel graphics textproc
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MIT
2019-07-13 09:24:31 +00:00
PERMIT_PACKAGE= Yes
2020-08-14 07:17:46 +00:00
WANTLIB-main += c c++ cairo freetype glib-2.0 gobject-2.0 graphite2 m
2020-07-27 06:55:43 +00:00
WANTLIB-icu += harfbuzz icuuc
MULTI_PACKAGES= -main -icu
DEBUG_PACKAGES= ${BUILD_PACKAGES}
USE_GMAKE= Yes
# C++11
COMPILER= base-clang ports-gcc ports-clang
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 \
graphics/graphite2
2020-07-27 06:55:43 +00:00
LIB_DEPENDS-icu= devel/harfbuzz,-main=${GH_TAGNAME} \
textproc/icu4c
2020-07-27 06:55:43 +00:00
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
# needed for estdc++ in WANTLIB
LIB_DEPENDS-main += ${LIB_DEPENDS}
2020-07-27 06:55:43 +00:00
.endif
CONFIGURE_ARGS= -Dgraphite=enabled \
-Ddocs=disabled
pre-configure:
2020-06-06 09:54:45 +00:00
${SUBST_CMD} ${WRKSRC}/src/check-symbols.py
.include <bsd.port.mk>