e4be7f3703
- Stop to make symbolic links from the font files to ${PREFIX}/share/fonts/misc/, which is found in the default font path, because recent libXfont does not follow symbolic links. - Add pkg-message.in to show additional font path settings. - Bump PORTREVISION. - Set submitter as maintainer. PR: 225125 [1], 226517 [2] Submitted by: WATANABE Kazuhiro <CQG00620@nifty.ne.jp> [2] Reported by: Shigeharu TAKENO <shige@iee.niit.ac.jp> [1]
34 lines
705 B
Makefile
34 lines
705 B
Makefile
# $FreeBSD$
|
|
|
|
GZIP_CMD?= gzip
|
|
MKBOLD_CMD?= mkbold
|
|
MKITALIC_CMD?= mkitalic
|
|
|
|
DIST_ALL= %%SRCS%%
|
|
|
|
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 ${DESTDIR}%%FONTSDIR%%
|
|
${BSD_INSTALL_DATA} ${PCF_ALL} ${DESTDIR}%%FONTSDIR%%
|
|
|
|
clean::
|
|
rm ${MADE_BOLD} ${MADE_ITALIC} ${PCF_ALL}
|