summaryrefslogtreecommitdiff
path: root/fonts/XFree86-fontsEncodings/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/XFree86-fontsEncodings/Makefile.common')
-rw-r--r--fonts/XFree86-fontsEncodings/Makefile.common52
1 files changed, 0 insertions, 52 deletions
diff --git a/fonts/XFree86-fontsEncodings/Makefile.common b/fonts/XFree86-fontsEncodings/Makefile.common
deleted file mode 100644
index b0c169ce54a..00000000000
--- a/fonts/XFree86-fontsEncodings/Makefile.common
+++ /dev/null
@@ -1,52 +0,0 @@
-# $NetBSD: Makefile.common,v 1.12 2006/04/22 09:22:08 rillig Exp $
-#
-# Makefile fragment used by XFree86-fonts* packages.
-
-USE_LANGUAGES= # empty
-
-BUILD_DEPENDS+= XFree86-clients>=${XF_VER}:../../x11/XFree86-clients
-DEPENDS+= XFree86-fontsEncodings>=${XF_VER}:../../fonts/XFree86-fontsEncodings
-FILESDIR= ${.CURDIR}/../../fonts/XFree86-fontsEncodings/files
-
-ENCODINGS= encodings encodings/large
-TOPDIR?= ../../..
-
-USE_TOOLS+= gtar
-
-post-extract:
-. if defined(FONTS_MISC)
- cd ${WRKDIR} && \
- ${GZCAT} ${DISTDIR}/XFree86-${XF_VER}-src-1.tgz | ${GTAR} -xf - \
- xc/extras/fonts/arabic24 xc/extras/fonts/ClearlyU;
-. endif
- @${SED} \
- -e "s|@PREFIX@|${X11ROOT}|g" \
- -e "s|@MAKE@|${MAKE_PROGRAM}|g" \
- -e "s|@IMAKE@|${IMAKE}|g" \
- ${FILESDIR}/host.def > ${WRKSRC}/host.def
-. for f in ${ENCODINGS}
- @${LN} -sf ${WRKSRC}/host.def ${WRKDIR}/xc/fonts/${f}
-. endfor
-
-do-configure:
- (cd ${WRKDIR}/xc/fonts/encodings && \
- ${IMAKE} -DUseInstalled -I${X11ROOT}/lib/X11/config \
- -DTOPDIR=${TOPDIR} -DCURDIR=.; \
- ${MAKE} Makefiles ; \
- ${MAKE} includes ; \
- ${MAKE} depend)
- (cd ${WRKSRC} && \
- ${IMAKE} -DUseInstalled -I${X11ROOT}/lib/X11/config \
- -DTOPDIR=${TOPDIR} -DCURDIR=.; \
- ${MAKE} Makefiles ; \
- ${MAKE} includes ; \
- ${MAKE} depend)
-
-SUBST_CLASSES+= large
-SUBST_STAGE.large= pre-build
-SUBST_FILES.large= large/Makefile
-SUBST_SED.large= -e 's,/usr/X11R6,${X11ROOT},g'
-SUBST_MESSAGE.large= Fixing large Makefile.
-
-pre-build:
- cd ${WRKDIR}/xc/fonts/encodings && ${MAKE} all