summaryrefslogtreecommitdiff
path: root/print/freetype2/Makefile
blob: 5beacb23ae85a00d10c1d20e6decfc1cad021059 (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
# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $

COMMENT =	software library to render fonts.
V=		2.10.3
DISTNAME =	freetype-${V}
PKGNAME =	freetype2-${V}

SHARED_LIBS =	freetype 30.0

CATEGORIES =	print

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

MAINTAINER =		xenocara@openbsd.org

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

WANTLIB =		z

MASTER_SITES =		https://download.savannah.gnu.org/releases/freetype/
MASTER_SITES +=		${MASTER_SITE_SOURCEFORGE:=freetype/}

EXTRACT_SUFX =		.tar.xz

COMPILER =		base-clang ports-gcc base-gcc

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>