summaryrefslogtreecommitdiff
path: root/x11/fontconfig/Makefile
blob: 3e3219a1175b6efeb0d82770a62d0ae6d280f2e4 (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
38
39
40
41
42
43
44
# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $

COMMENT =	XML-based font configuration API for X Windows
DISTNAME =	fontconfig-2.13.94

SHARED_LIBS =	fontconfig 14.0

CATEGORIES =	x11

HOMEPAGE =	https://www.freedesktop.org/wiki/Software/fontconfig/

MAINTAINER =		xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

WANTLIB =		freetype uuid expat iconv intl pthread c z

MASTER_SITES =		http://fontconfig.org/release/

EXTRACT_SUFX =		.tar.gz

MODULES =		xenocara

BUILD_DEPENDS =		devel/gperf

LIB_DEPENDS =		sysutils/e2fsprogs \
			print/freetype2

USE_GMAKE =		Yes

# CONFIGURE_STYLE =	gnu
MODULES =		xenocara devel/meson

CONFIGURE_ARGS =	-Dnls=disabled  \
			-Ddoc=disabled \
			-Ddatadir=${X11BASE}/share/examples/ \
			--localstatedir=/var \
			--sysconfdir=/etc

post-install:
	mv ${WRKINST}${SYSCONFDIR}/fonts/fonts.conf ${PREFIX}/share/examples/fontconfig

.include <bsd.port.mk>