2017-08-19 04:11:04 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2017/08/19 10:11:19 matthieu Exp $
|
2013-03-09 07:34:40 -07:00
|
|
|
|
|
|
|
FONTCONFIG = ${.CURDIR}/../../../dist/fontconfig
|
|
|
|
|
|
|
|
PKGCONFIG = fontconfig.pc
|
|
|
|
|
2017-08-19 04:11:04 -06:00
|
|
|
PACKAGE_VERSION = 2.12.4
|
2013-03-09 07:34:40 -07:00
|
|
|
PACKAGE = fontconfig
|
|
|
|
VERSION = $(PACKAGE_VERSION)
|
|
|
|
|
|
|
|
EXTRA_PKGCONFIG_SUBST = \
|
|
|
|
-e 's,@PACKAGE@,'${PACKAGE}',g' \
|
|
|
|
-e 's,@VERSION@,'${VERSION}',g' \
|
2014-05-18 04:33:03 -06:00
|
|
|
-e 's,@LIBXML2_CFLAGS@,,g' \
|
2013-03-09 07:34:40 -07:00
|
|
|
-e 's,@LIBXML2_LIBS@,,g' \
|
2014-05-18 04:33:03 -06:00
|
|
|
-e 's,@EXPAT_CFLAGS@,,g' \
|
2013-03-09 07:34:40 -07:00
|
|
|
-e 's,@EXPAT_LIBS@,-lexpat,g' \
|
2014-05-18 04:33:03 -06:00
|
|
|
-e 's,@FREETYPE_CFLAGS@,-I${X11BASE}/include/freetype2,g' \
|
|
|
|
-e 's,@FREETYPE_LIBS@,-L${X11BASE}/lib -lfreetype,g' \
|
|
|
|
-e 's,@ICONV_CFLAGS@,,g' \
|
2013-03-09 07:34:40 -07:00
|
|
|
-e 's,@ICONV_LIBS@,,g' \
|
|
|
|
-e 's,@sysconfdir@,/etc,g' \
|
|
|
|
-e 's,@localstatedir@,/var,g' \
|
2014-05-18 04:33:03 -06:00
|
|
|
-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' \
|
2013-03-09 07:34:40 -07:00
|
|
|
|
|
|
|
obj: _xenocara_obj
|
|
|
|
|
|
|
|
.PATH: ${FONTCONFIG}
|
|
|
|
|
|
|
|
.include <bsd.xorg.mk>
|