summaryrefslogtreecommitdiff
path: root/x11-fonts/fcft/Makefile
blob: 8c74e9cc076069a11be20b61f685bb3a4bbfde34 (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
PORTNAME=	fcft
DISTVERSION=	2.3.2
PORTREVISION=	1
CATEGORIES=	x11-fonts
MASTER_SITES=	https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/

PATCH_SITES=	https://codeberg.org/dnkl/${PORTNAME}/commit/
PATCHFILES+=	0b330d7ff91f.patch:-p1 # avoid patch conflict
PATCHFILES+=	e30e9f295b79.patch:-p1 # fnottctl quit crashfix

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Simple library for font loading and glyph rasterization

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	tllist>=1.0.1:devel/tllist \
		scdoc:textproc/scdoc
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
		libfontconfig.so:x11-fonts/fontconfig

USES=		compiler:c11 meson pkgconfig xorg
USE_LDCONFIG=	yes
USE_XORG=	pixman
WRKSRC=		${WRKDIR}/${PORTNAME}

OPTIONS_DEFINE=	HARFBUZZ
OPTIONS_DEFAULT=HARFBUZZ

HARFBUZZ_DESC=		HarfBuzz for text shaping
HARFBUZZ_LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
HARFBUZZ_MESON_ENABLED=	text-shaping

.include <bsd.port.mk>