pkgsrc/fonts/XFree86-fonts75dpi/Makefile
xtraeme b7c18d0ca0 Initial import of XFree86-fonts75dpi-4.3.0 from pkgsrc-wip.
This package contains the XFree86 75dpi bitmap fonts.
2004-01-24 08:55:44 +00:00

56 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/01/24 08:55:44 xtraeme Exp $
DISTNAME= X430src-4
PKGNAME= XFree86-fonts75dpi-${XF_VER}
WRKSRC= ${WRKDIR}/xc/fonts/bdf/75dpi
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
EXTRACT_SUFX= .tgz
MAINTAINER= xfree86@blef.org
HOMEPAGE= http://www.xfree86.org/
COMMENT= XFree86 bitmap 75dpi fonts
DEPENDS+= XFree86-fontsEncodings>=4.3.0:../../fonts/XFree86-fontsEncodings
USE_BUILDLINK2= yes
NO_XFREE86_TARGETS= # defined
FILESDIR= ${.CURDIR}/../../fonts/XFree86-fontsEncodings/files
post-extract:
@${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"