blob: 9a6ae664a4db6d66769a48673696d87669c802b0 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# $NetBSD: Makefile,v 1.2 2004/01/29 06:21:36 xtraeme Exp $
DISTNAME= ${DISTFILES}
PKGNAME= XFree86-fontsMisc-${XF_VER}
WRKSRC= ${WRKDIR}/xc/fonts/bdf/misc
CATEGORIES= fonts x11
MASTER_SITES= ${MASTER_SITE_XFREE}
DISTFILES= X430src-1.tgz X430src-4.tgz
MAINTAINER= xfree86@blef.org
HOMEPAGE= http://www.xfree86.org/
COMMENT= XFree86 default bitmap fonts
DEPENDS= XFree86-fontsEncodings>=4.3.0:../../fonts/XFree86-fontsEncodings
USE_BUILDLINK2= yes
NO_XFREE86_TARGETS= # defined
EXTRACT_ONLY= X430src-4.tgz
FILESDIR= ${.CURDIR}/../../fonts/XFree86-fontsEncodings/files
post-extract:
cd ${WRKDIR} && \
${GUNZIP_CMD} -c ${DISTDIR}/X430src-1.tgz | ${GTAR} -xf - \
xc/extras/fonts/arabic24 xc/extras/fonts/ClearlyU;
@${SED} \
-e "s|@PREFIX@|${X11PREFIX}|g" \
-e "s|@MAKE@|${MAKE_PROGRAM}|g" \
-e "s|@IMAKE@|${IMAKE}|g" \
${FILESDIR}/host.def > ${WRKSRC}/host.def
@${LN} -sf ${WRKSRC}/host.def ${WRKDIR}/xc/fonts/encodings
@${LN} -sf ${WRKSRC}/host.def ${WRKDIR}/xc/fonts/encodings/large
do-configure:
(cd ${WRKDIR}/xc/fonts/encodings && \
${IMAKE} -DUseInstalled -I${PREFIX}/lib/X11/config \
-DTOPDIR=../.. -DCURDIR=.; \
${MAKE} Makefiles ; \
${MAKE} includes ; \
${MAKE} depend)
(cd ${WRKSRC} && \
${IMAKE} -DUseInstalled -I${PREFIX}/lib/X11/config \
-DTOPDIR=../../.. -DCURDIR=.; \
${MAKE} Makefiles ; \
${MAKE} includes ; \
${MAKE} depend)
pre-build:
@${MV} ${WRKDIR}/xc/fonts/encodings/large/Makefile \
${WRKDIR}/xc/fonts/encodings/large/Makefile.in
@${SED} -e "s|/usr/X11R6|${PREFIX}|g" \
< ${WRKDIR}/xc/fonts/encodings/large/Makefile.in > \
${WRKDIR}/xc/fonts/encodings/large/Makefile
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
.include "../../meta-pkgs/XFree86/Makefile.common"
.include "../../mk/bsd.pkg.mk"
|