Install fonts.dir files.
This commit is contained in:
form 2000-01-19 08:52:31 +00:00
parent 8db7937912
commit a1dcfa7f0e
2 changed files with 12 additions and 11 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2000/01/19 08:30:28 form Exp $
# $OpenBSD: Makefile,v 1.10 2000/01/19 08:52:31 form Exp $
DISTNAME= xcyrillic-1.1
CATEGORIES= russian x11
@ -9,20 +9,18 @@ USE_X11= yes
MAINTAINER= form@openbsd.org
post-build:
${PREFIX}/bin/mkfontdir ${WRKSRC}/misc ${WRKSRC}/75dpi ${WRKSRC}/100dpi
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/xcyrillic
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/xcyrillic/misc \
${PREFIX}/lib/X11/fonts/xcyrillic/75dpi \
${PREFIX}/lib/X11/fonts/xcyrillic/100dpi
${INSTALL_DATA} ${WRKSRC}/misc/*.pcf.gz \
${PREFIX}/lib/X11/fonts/xcyrillic/misc
.for d in misc 75dpi 100dpi
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/xcyrillic/${d}
${INSTALL_DATA} ${WRKSRC}/${d}/fonts.dir ${WRKSRC}/${d}/*.pcf.gz \
${PREFIX}/lib/X11/fonts/xcyrillic/${d}
.endfor
${INSTALL_DATA} ${WRKSRC}/misc/fonts.alias \
${PREFIX}/lib/X11/fonts/xcyrillic/misc
${INSTALL_DATA} ${WRKSRC}/75dpi/*.pcf.gz \
${PREFIX}/lib/X11/fonts/xcyrillic/75dpi
${INSTALL_DATA} ${WRKSRC}/100dpi/*.pcf.gz \
${PREFIX}/lib/X11/fonts/xcyrillic/100dpi
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -58,6 +58,7 @@ lib/X11/fonts/xcyrillic/100dpi/crox6t.pcf.gz
lib/X11/fonts/xcyrillic/100dpi/crox6tb.pcf.gz
lib/X11/fonts/xcyrillic/100dpi/crox6tbo.pcf.gz
lib/X11/fonts/xcyrillic/100dpi/crox6to.pcf.gz
lib/X11/fonts/xcyrillic/100dpi/fonts.dir
lib/X11/fonts/xcyrillic/75dpi/crox1c.pcf.gz
lib/X11/fonts/xcyrillic/75dpi/crox1cb.pcf.gz
lib/X11/fonts/xcyrillic/75dpi/crox1cbo.pcf.gz
@ -118,7 +119,9 @@ lib/X11/fonts/xcyrillic/75dpi/crox6t.pcf.gz
lib/X11/fonts/xcyrillic/75dpi/crox6tb.pcf.gz
lib/X11/fonts/xcyrillic/75dpi/crox6tbo.pcf.gz
lib/X11/fonts/xcyrillic/75dpi/crox6to.pcf.gz
lib/X11/fonts/xcyrillic/75dpi/fonts.dir
lib/X11/fonts/xcyrillic/misc/fonts.alias
lib/X11/fonts/xcyrillic/misc/fonts.dir
lib/X11/fonts/xcyrillic/misc/koi10x16b.pcf.gz
lib/X11/fonts/xcyrillic/misc/koi10x20.pcf.gz
lib/X11/fonts/xcyrillic/misc/koi12x24.pcf.gz