blob: b20f3ff8504666d994c337b1b91718dbe0045e69 (
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
|
# $NetBSD: Makefile,v 1.9 2004/10/12 11:11:52 hira Exp $
DISTNAME= X11R${XORG_VER}-src1
PKGNAME= xorg-fontsTruetype-${XORG_VER}
CATEGORIES= fonts x11
MASTER_SITES= ${MASTER_SITE_XORG}
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.x.org/
COMMENT= X.org Truetype fonts
BUILD_DEPENDS= xorg-clients>=${XORG_VER}:../../x11/xorg-clients
BUILD_DEPENDS+= fontconfig-[0-9]*:../../fonts/fontconfig
DEPENDS+= xorg-fontsEncodings>=${XORG_VER}:../../fonts/xorg-fontsEncodings
XBUILD_DIRS= fonts/encodings fonts/scaled/TTF
XINSTALL_DIRS= fonts/scaled/TTF
FILESDIR= ${.CURDIR}/../../fonts/xorg-fontsEncodings/files
SUBST_CLASSES+= font
SUBST_STAGE.font= post-patch
SUBST_FILES.font= config/cf/X11.tmpl
SUBST_SED.font= -e "s,FCCACHE = \$$(BINDIR)/fc-cache,FCCACHE=${LOCALBASE}/bin/fc-cache,"
SUBST_MESSAGE.font= "Fixing path of fc-cache."
SUBST_CLASSES+= TTF
SUBST_STAGE.TTF= post-configure
SUBST_FILES.TTF= fonts/scaled/TTF/Makefile
SUBST_SED.TTF= -e "s,/usr/X11R6,${LOCALBASE},g"
.include "../../meta-pkgs/xorg/Makefile.common"
.include "../../mk/bsd.pkg.mk"
|