summaryrefslogtreecommitdiff
path: root/x11/fontconfig/Makefile
blob: f793a90e79abe975cdc1abec82a0f437fec839bf (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
COMMENT =	XML-based font configuration API for X Windows
DISTNAME =	fontconfig-2.14.0

SHARED_LIBS =	fontconfig 14.0

CATEGORIES =	x11

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

MAINTAINER =		xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

WANTLIB =		expat freetype c

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

EXTRACT_SUFX =		.tar.gz

MODULES =		xenocara devel/meson

BUILD_DEPENDS =		devel/gperf

LIB_DEPENDS =		print/freetype2

USE_GMAKE =		Yes

# CONFIGURE_STYLE =	gnu

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>