# $FreeBSD$ PORTNAME= dina PORTVERSION= 2.92 CATEGORIES= x11-fonts MASTER_SITES= LOCAL/rakuco MAINTAINER= rakuco@FreeBSD.org COMMENT= A monospace bitmap font, primarily aimed at programmers LICENSE= MIT BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf FONTDIR= lib/X11/fonts/${PORTNAME} PLIST_SUB= FONTDIR=${FONTDIR} BDFLIST= Dina_i400-10.bdf Dina_i400-8.bdf Dina_i400-9.bdf \ Dina_i700-10.bdf Dina_i700-8.bdf Dina_i700-9.bdf \ Dina_r400-10.bdf Dina_r400-6.bdf Dina_r400-8.bdf \ Dina_r400-9.bdf Dina_r700-10.bdf Dina_r700-8.bdf \ Dina_r700-9.bdf do-build: .for BDF in ${BDFLIST} cd ${WRKSRC}/BDF && bdftopcf -t -o ${BDF:S/.bdf/.pcf/} ${BDF} .endfor ${GZIP_CMD} ${WRKSRC}/BDF/*.pcf do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR} ${INSTALL_DATA} ${WRKSRC}/BDF/*.pcf.gz ${STAGEDIR}${PREFIX}/${FONTDIR} .include