diff options
Diffstat (limited to 'x11/jisx0208fonts/files/Makefile')
-rw-r--r-- | x11/jisx0208fonts/files/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/jisx0208fonts/files/Makefile b/x11/jisx0208fonts/files/Makefile new file mode 100644 index 00000000000..556e63e6fee --- /dev/null +++ b/x11/jisx0208fonts/files/Makefile @@ -0,0 +1,24 @@ +BDF0!= find .. -type f -a -name \*.bdf -print +BDF= ${BDF0:C/.*\///} +PCF= ${BDF:C/bdf$/pcf/} + +.SUFFIXES: .bdf .pcf + +.bdf.pcf: + bdftopcf -o $@ $< + +all: ${PCF} + +prepare:: + for i in ${BDF0}; do \ + ln -s $$i; \ + done + +install:: + for i in ${PCF}; do \ + ${BSD_INSTALL_DATA} $$i ${FONTDIR}; \ + ${GZIP_CMD} ${FONTDIR}/$$i; \ + done + +clean: + rm -f *.bdf *.pcf |