# lutRS18.Makefile

# Components for later use in both ports/comms/hylafax/Makefile &
# ports/comms/hylafax/Makefile/${WRKDIR}/etc/Makefile,
# to add a phone symbol to fax header.

LIBXEC_DEPENDS+=  x11/XFree86/${WRKSRC}/fonts/bdf/100dpi/lutRS18.bdf:${PORTSDIR}/x11/XFree86
EXEC_DEPENDS+=  bdftopcf:${PORTSDIR}/x11/XFree86

# Currently hylafax strips 8th bit, I think, which blocks phone symbol.

lutRS18.bdf~:
	cp ${DESTDIR}/x11/XFree86/${WRKSRC}/fonts/bdf/100dpi/lutRS18.bdf \
		${.TARGET}
	@# cp /cd/x11r6pl3/xc/fonts/bdf/100dpi/lutRS18.bdf ${.TARGET}
	@# I know we want the 100dpi rather than 75dpi because I found this in
	@# Hylafax lutRS18.pcf: Normal-Sans-25-180-100-100-M-150-ISO8859-1

lutRS18.bdf: lutRS18.bdf.orig lutRS18.bdf.diff
	patch < lutRS18.bdf.diff

lutRS18.pcf: lutRS18.bdf
	bdftopcf -o ${.TARGET} ${.IMPSRC}

clean::
	rm -rf lutRS18.pcf
