summaryrefslogtreecommitdiff
path: root/x11/fontconfig/Makefile
blob: a14efff36b7200e29c2f5db82302a05837abc5f2 (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
45
# $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.1
REVISION = 	1

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

CONFIGURE_ARGS =	--disable-nls --sysconfdir=${SYSCONFDIR} \
			--with-templatedir=${X11BASE}/share/examples/fontconfig \
			--with-configdir=${SYSCONFDIR}/fonts/conf.d \
			--with-default-fonts=${PREFIX}/lib/X11/fonts \
			--with-add-fonts=${LOCALBASE}/share/fonts \
			--with-cache-dir=/var/cache/fontconfig 

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

.include <bsd.port.mk>