summaryrefslogtreecommitdiff
path: root/fonts/XFree86-fontsEncodings/Makefile
blob: 6fa14988d66efb897e9492daf7e2af5fa0c28e84 (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
# $NetBSD: Makefile,v 1.9 2004/07/30 08:31:22 xtraeme Exp $

DISTNAME=	XFree86-${XF_VER}-src-4
PKGNAME=	XFree86-fontsEncodings-${XF_VER}
CATEGORIES=	fonts x11
MASTER_SITES=	${MASTER_SITE_XFREE}
EXTRACT_SUFX=	.tgz

MAINTAINER=	xfree86@blef.org
HOMEPAGE=	http://www.xfree86.org/
COMMENT=	XFree86 Encoding fonts

DEPENDS=	XFree86-clients>=${XF_VER}:../../x11/XFree86-clients

NO_XFREE86_TARGETS=	# defined
WRKSRC=			${WRKDIR}/xc/fonts/encodings

post-extract:
	@${SED} \
		-e 's,@PREFIX@,${X11ROOT},g' \
		-e 's,@MAKE@,${MAKE_PROGRAM},g' \
		-e 's,@IMAKE@,${IMAKE},g' \
		${FILESDIR}/host.def > ${WRKSRC}/host.def

do-configure:
	(cd ${WRKSRC} && \
	${IMAKE} -DUseInstalled -I${X11ROOT}/lib/X11/config \
		-DTOPDIR=../../.. -DCURDIR=.; \
	${MAKE} Makefiles ; \
	${MAKE} includes ; \
	${MAKE} depend)

.include "../../meta-pkgs/XFree86/Makefile.common"
.include "../../mk/bsd.pkg.mk"