summaryrefslogtreecommitdiff
path: root/print/freetype2/Makefile
blob: 802f2d7e5a5aec0e031f4477e16da359fddbcf41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
COMMENT =	software library to render fonts.
V=		2.13.2
DISTNAME =	freetype-${V}
PKGNAME =	freetype2-${V}

SHARED_LIBS =	freetype 30.4

CATEGORIES =	print

HOMEPAGE =	https://www.freetype.org/

MAINTAINER =		xenocara@openbsd.org

# FTL / GPL https://www.freetype.org/license.html
PERMIT_PACKAGE =	Yes

WANTLIB =		pthread z

SITES =			https://download.savannah.gnu.org/releases/freetype/
SITES +=		${SITE_SOURCEFORGE:=freetype/}

EXTRACT_SUFX =		.tar.xz

COMPILER =		base-clang ports-gcc base-gcc

MODULES = 		xenocara

USE_GMAKE =		Yes

CONFIGURE_STYLE =	simple
CONFIGURE_ARGS =	--with-brotli=no --with-bzip2=no \
			--with-harfbuzz=no --with-png=no

# Remove this when all dependent packages have switched to pkg-config
CONFIGURE_ARGS+=        --enable-freetype-config

.include <bsd.port.mk>