4a89940ec6
Include 7x14rkmr.bdf instead of 7x14rkmaru.bdf (a few glyphs differ). Add SHA256 checksums. Notified by: kris, Bill "distfiles" Fenner
36 lines
813 B
Makefile
36 lines
813 B
Makefile
# $FreeBSD$
|
|
|
|
GZIP_CMD?= gzip
|
|
MKBOLD_CMD?= mkbold
|
|
MKITALIC_CMD?= mkitalic
|
|
|
|
DIST_ALL= 7x14maru.bdf 7x14rkmr.bdf 8x16maru.bdf \
|
|
8x16rkmr.bdf 9x18maru.bdf 9x18rkmr.bdf \
|
|
maru14.bdf maru16.bdf maru18.bdf
|
|
|
|
DIST_NOBOLD= ${DIST_ALL}
|
|
MADE_BOLD= ${DIST_NOBOLD:S/.bdf/b.bdf/g}
|
|
|
|
DIST_NOITALIC= ${DIST_ALL} ${MADE_BOLD}
|
|
MADE_ITALIC= ${DIST_NOITALIC:S/.bdf/i.bdf/g}
|
|
|
|
BDF_ALL= ${DIST_ALL} ${MADE_BOLD} ${MADE_ITALIC}
|
|
PCF_ALL= ${BDF_ALL:S/.bdf/.pcf.gz/g}
|
|
|
|
all: ${PCF_ALL}
|
|
|
|
${MADE_BOLD}: ${.TARGET:S/b.bdf/.bdf/}
|
|
${MKBOLD_CMD} $> > $@
|
|
|
|
${MADE_ITALIC}: ${.TARGET:S/i.bdf/.bdf/}
|
|
${MKITALIC_CMD} $> > $@
|
|
|
|
${PCF_ALL}: ${.TARGET:S/.pcf.gz/.bdf/}
|
|
bdftopcf $> | ${GZIP_CMD} -c > $@
|
|
|
|
install:
|
|
mkdir -p ${PREFIX}/${FONTSDIR}
|
|
${BSD_INSTALL_DATA} ${PCF_ALL} ${PREFIX}/${FONTSDIR}
|
|
|
|
clean::
|
|
rm ${MADE_BOLD} ${MADE_ITALIC} ${PCF_ALL}
|