summaryrefslogtreecommitdiff
path: root/lib/fontconfig/pc/Makefile
blob: 565bf6ab60a122e094e284c9756656c4af7d7cd8 (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
#	$OpenBSD: Makefile,v 1.4 2017/08/19 10:11:19 matthieu Exp $

FONTCONFIG =	${.CURDIR}/../../../dist/fontconfig

PKGCONFIG = fontconfig.pc

PACKAGE_VERSION = 2.12.4
PACKAGE = fontconfig
VERSION = $(PACKAGE_VERSION)

EXTRA_PKGCONFIG_SUBST = \
	-e 's,@PACKAGE@,'${PACKAGE}',g' \
	-e 's,@VERSION@,'${VERSION}',g' \
	-e 's,@LIBXML2_CFLAGS@,,g' \
	-e 's,@LIBXML2_LIBS@,,g' \
	-e 's,@EXPAT_CFLAGS@,,g' \
	-e 's,@EXPAT_LIBS@,-lexpat,g' \
	-e 's,@FREETYPE_CFLAGS@,-I${X11BASE}/include/freetype2,g' \
	-e 's,@FREETYPE_LIBS@,-L${X11BASE}/lib -lfreetype,g' \
	-e 's,@ICONV_CFLAGS@,,g' \
	-e 's,@ICONV_LIBS@,,g' \
	-e 's,@sysconfdir@,/etc,g' \
	-e 's,@localstatedir@,/var,g' \
	-e 's,@BASECONFIGDIR@,'${BASECONFIGDIR}',g' \
	-e 's,@fc_cachedir@,'${FC_CACHEDIR}',g' \
	-e 's,@PKGCONFIG_REQUIRES@,freetype2,g' \
	-e 's,@PKGCONFIG_REQUIRES_PRIVATELY@,expat,g' \

obj: _xenocara_obj

.PATH: ${FONTCONFIG}

.include <bsd.xorg.mk>