summaryrefslogtreecommitdiff
path: root/emulators/suse113_fontconfig/Makefile
blob: 213ba16c2879f28c0fd3071c7d77428b0392c623 (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
# $NetBSD: Makefile,v 1.3 2011/02/10 02:55:45 chs Exp $

DISTNAME=	suse_fontconfig-${SUSE_VERSION}
CATEGORIES=	emulators
DISTFILES=	fontconfig-2.8.0-7.1.${SUSE_ARCH}.rpm
PKGREVISION=	1

MAINTAINER=	chs@NetBSD.org
COMMENT=	Linux compatibility package for fontconfig

EMUL_MODULES.linux=	expat freetype2

.include "../../emulators/suse113_linux/Makefile.common"

PLIST_SRC=	${PKGDIR}/PLIST ${RPM2PKG_PLIST}

do-build:
	${SETENV} LOCALBASE=${LOCALBASE:Q} X11BASE=${X11BASE:Q}	\
	${AWK} -f ${FILESDIR}/generate.awk ${FILESDIR}/local.conf.in	\
		> ${WRKSRC}/local.conf

post-install:
	${INSTALL_DATA} ${WRKSRC}/local.conf				\
		${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/fonts/local.conf

.include "../../mk/bsd.pkg.mk"