summaryrefslogtreecommitdiff
path: root/fonts/XFree86-fontsCyrillic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/XFree86-fontsCyrillic/Makefile')
-rw-r--r--fonts/XFree86-fontsCyrillic/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/fonts/XFree86-fontsCyrillic/Makefile b/fonts/XFree86-fontsCyrillic/Makefile
index 97e80935fab..136e3f83eff 100644
--- a/fonts/XFree86-fontsCyrillic/Makefile
+++ b/fonts/XFree86-fontsCyrillic/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/01/29 06:21:36 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2004/02/02 14:19:01 xtraeme Exp $
DISTNAME= X430src-4
PKGNAME= XFree86-fontsCyrillic-${XF_VER}
-WRKSRC= ${WRKDIR}/xc/fonts/bdf/cyrillic
+PKGREVISION= 1
CATEGORIES= fonts x11
MASTER_SITES= ${MASTER_SITE_XFREE}
EXTRACT_SUFX= .tgz
@@ -15,27 +15,29 @@ DEPENDS+= XFree86-fontsEncodings>=4.3.0:../../fonts/XFree86-fontsEncodings
USE_BUILDLINK2= yes
NO_XFREE86_TARGETS= # defined
+WRKSRC= ${WRKDIR}/xc/fonts/bdf/cyrillic
FILESDIR= ${.CURDIR}/../../fonts/XFree86-fontsEncodings/files
post-extract:
@${SED} \
- -e "s|@PREFIX@|${X11PREFIX}|g" \
+ -e "s|@PREFIX@|${X11ROOT}|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
+.for f in encodings encodings/large
+ @${LN} -sf ${WRKSRC}/host.def ${WRKDIR}/xc/fonts/${f}
+.endfor
do-configure:
(cd ${WRKDIR}/xc/fonts/encodings && \
- ${IMAKE} -DUseInstalled -I${PREFIX}/lib/X11/config \
+ ${IMAKE} -DUseInstalled -I${X11ROOT}/lib/X11/config \
-DTOPDIR=../../.. -DCURDIR=.; \
${MAKE} Makefiles ; \
${MAKE} includes ; \
${MAKE} depend)
(cd ${WRKSRC} && \
- ${IMAKE} -DUseInstalled -I${PREFIX}/lib/X11/config \
+ ${IMAKE} -DUseInstalled -I${X11ROOT}/lib/X11/config \
-DTOPDIR=../../.. -DCURDIR=.; \
${MAKE} Makefiles ; \
${MAKE} includes ; \
@@ -44,13 +46,11 @@ do-configure:
pre-build:
@${MV} ${WRKDIR}/xc/fonts/encodings/large/Makefile \
${WRKDIR}/xc/fonts/encodings/large/Makefile.in
- @${SED} -e "s|/usr/X11R6|${PREFIX}|g" \
+ @${SED} -e "s|/usr/X11R6|${X11ROOT}|g" \
< ${WRKDIR}/xc/fonts/encodings/large/Makefile.in > \
${WRKDIR}/xc/fonts/encodings/large/Makefile
- (cd ${WRKDIR}/xc/fonts/encodings && \
- ${MAKE} all)
+ (cd ${WRKDIR}/xc/fonts/encodings && ${MAKE} all)
.include "../../meta-pkgs/XFree86/Makefile.common"
-
.include "../../mk/bsd.pkg.mk"