1999-09-03 16:03:03 +00:00
|
|
|
# New ports collection makefile for: baekmuk fonts(x11)
|
1999-09-09 17:09:40 +00:00
|
|
|
# Version required: 1.1
|
1999-09-03 16:03:03 +00:00
|
|
|
# Date created: 23 Jul 1999
|
|
|
|
# Whom: CHOI Junho <cjh@kr.freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
1999-09-09 17:09:40 +00:00
|
|
|
DISTNAME= baekmuk-1.1
|
|
|
|
PKGNAME= ko-baekmukfonts-bdf-1.1
|
1999-09-03 16:03:03 +00:00
|
|
|
CATEGORIES= korean x11-fonts
|
1999-09-09 17:09:40 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mizi.co.kr/pub/baekmuk/ \
|
|
|
|
http://www.FreeBSD.org/~sada/distfiles/
|
1999-11-01 01:26:13 +00:00
|
|
|
DISTFILES= baekmuk-1.1.tar.gz gulim12-19990903.bdf.gz
|
|
|
|
EXTRACT_ONLY= baekmuk-1.1.tar.gz
|
1999-09-03 16:03:03 +00:00
|
|
|
|
|
|
|
MAINTAINER= cjh@kr.freebsd.org
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
do-build:
|
1999-11-01 01:26:13 +00:00
|
|
|
${GUNZIP_CMD} -c ${_DISTDIR}/gulim12-19990903.bdf.gz \
|
|
|
|
> ${WRKDIR}/gulim12.bdf
|
1999-09-03 16:03:03 +00:00
|
|
|
.for FONTNAME in ${FONTLIST}
|
|
|
|
${BDFTOPCF} ${WRKDIR}/${FONTNAME}.bdf | ${GZIP_CMD} -c \
|
|
|
|
> ${WRKDIR}/${FONTNAME}.pcf.gz
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
-mkdir -p ${PREFIX}/lib/X11/fonts/baekmuk
|
|
|
|
.for FONTNAME in ${FONTLIST}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${FONTNAME}.pcf.gz \
|
|
|
|
${PREFIX}/lib/X11/fonts/baekmuk
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/fonts.alias ${PREFIX}/lib/X11/fonts/baekmuk
|
|
|
|
${MKFONTDIR} ${PREFIX}/lib/X11/fonts/baekmuk
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|