summaryrefslogtreecommitdiff
path: root/x11/fontconfig/Makefile
blob: d28c36ca1c58c568ad992841b21c1fa8e91b08ac (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
# $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

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 =	--sysconfdir=${SYSCONFDIR} \
			--with-default-fonts=${PREFIX}/share/fonts \
			--with-cache-dir=/var/cache/fontconfig 

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

.include <bsd.port.mk>