1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/korean/baekmukfonts-bdf/Makefile
Steve Price 1d2cc8dd34 Update to version 2.0.
PR:		16366
Submitted by:	maintainer
2000-01-29 21:58:54 +00:00

52 lines
1.4 KiB
Makefile

# New ports collection makefile for: baekmuk fonts(x11)
# Version required: 1.1
# Date created: 23 Jul 1999
# Whom: CHOI Junho <cjh@kr.freebsd.org>
#
# $FreeBSD$
#
DISTNAME= baekmuk-2.0
PKGNAME= ko-baekmukfonts-bdf-2.0
CATEGORIES= korean x11-fonts
MASTER_SITES= ftp://ftp.mizi.co.kr/pub/baekmuk/
MAINTAINER= cjh@kr.freebsd.org
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86
USE_X_PREFIX= yes
FONTLIST= batang10 batang10b batang12 batang12b batang14 batang14b \
batang16 batang16b batang18 batang18b batang20 batang20b \
batang24 batang24b \
dotum10 dotum12 dotum14 dotum16 dotum18 dotum20 dotum24 \
gulim10 gulim10b gulim12 gulim12b gulim14 gulim14b gulim16 \
gulim16b gulim18 gulim18b gulim20 gulim20b gulim24 gulim24b \
hline10 hline12 hline14 hline16 hline18 hline20 hline24
BDFTOPCF= ${PREFIX}/bin/bdftopcf
MKFONTDIR= ${PREFIX}/bin/mkfontdir
CHARSETSUB= s/ksx1001.1997/ksc5601.1987/g
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
# change charset to ksc5601.1987...
do-build:
.for FONTNAME in ${FONTLIST}
perl -pi -e ${CHARSETSUB} ${WRKDIR}/${FONTNAME}.bdf
${BDFTOPCF} ${WRKDIR}/${FONTNAME}.bdf | ${GZIP_CMD} -c \
> ${WRKDIR}/${FONTNAME}.pcf.gz
.endfor
do-install:
-mkdir -p ${PREFIX}/${FONTSDIR}
.for FONTNAME in ${FONTLIST}
${INSTALL_DATA} ${WRKDIR}/${FONTNAME}.pcf.gz \
${PREFIX}/${FONTSDIR}
.endfor
@(cd ${PREFIX}/${FONTSDIR} && mkfontdir .)
.include <bsd.port.mk>