1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/x11-fonts/cyr-rfx/files/Makefile.bdf2pcf
Mikhail Teterin 88ea324724 Make and install gzip-ed .pcf files -- save over 1.5Mb...
No PORTREVISION bump, since packaging did not work 'till 5 minutes
ago anyway.
2003-01-31 17:27:17 +00:00

21 lines
446 B
Makefile

VPATH= ${.CURDIR}/75dpi:${.CURDIR}/misc
BDFS!= echo ${VPATH:S,:,/*.bdf ,}/*.bdf
PCFS= ${BDFS:T:S/.bdf/.pcf.gz/}
.SUFFIXES: .bdf .pcf.gz
all: fonts.dir fonts.alias ${PCFS}
fonts.dir: ${PCFS}
mkfontdir .
fonts.alias: ${VPATH:S,:,/fonts.alias ,}/fonts.alias
cat ${.ALLSRC} > ${.TARGET}
.bdf.pcf.gz:
bdftopcf ${.ALLSRC} | gzip -9 > ${.TARGET}
install: all
${MKDIR} ${INST_DIR}
${BSD_INSTALL_DATA} ${PCFS} fonts.dir fonts.alias ${INST_DIR}