aboutsummaryrefslogtreecommitdiff
path: root/korean/baekmukfonts-bdf
diff options
context:
space:
mode:
authorCHOI Junho <cjh@FreeBSD.org>2000-09-03 13:05:40 +0000
committerCHOI Junho <cjh@FreeBSD.org>2000-09-03 13:05:40 +0000
commit44a902cb7e9a66996d793a9f6ec5145420ca2cd2 (patch)
tree584fbdccbb179b0d4e4d548f8ae28316a4374534 /korean/baekmukfonts-bdf
parent43d4ec4076b989858d6834f8c6c0137099ceb522 (diff)
downloadports-44a902cb7e9a66996d793a9f6ec5145420ca2cd2.tar.gz
ports-44a902cb7e9a66996d793a9f6ec5145420ca2cd2.zip
Notes
Diffstat (limited to 'korean/baekmukfonts-bdf')
-rw-r--r--korean/baekmukfonts-bdf/Makefile17
-rw-r--r--korean/baekmukfonts-bdf/distinfo2
2 files changed, 16 insertions, 3 deletions
diff --git a/korean/baekmukfonts-bdf/Makefile b/korean/baekmukfonts-bdf/Makefile
index aa180ce182ac..cc6c8dc9f8c8 100644
--- a/korean/baekmukfonts-bdf/Makefile
+++ b/korean/baekmukfonts-bdf/Makefile
@@ -8,11 +8,15 @@
PORTNAME= baekmukfonts
PORTVERSION= 2.0
CATEGORIES= korean x11-fonts
-MASTER_SITES= ftp://ftp.mizi.com/pub/baekmuk/
+MASTER_SITES= ftp://ftp.mizi.com/pub/baekmuk/ \
+ http://chem.skku.ac.kr/~wkpark/linux/archive/
PKGNAMESUFFIX= -bdf
DISTNAME= baekmuk-${PORTVERSION}
+DISTFILES= baekmuk-${PORTVERSION}${EXTRACT_SUFX} \
+ gulim10.pcf.gz gulim10b.pcf.gz
+EXTRACT_ONLY= baekmuk-${PORTVERSION}${EXTRACT_SUFX}
-MAINTAINER= cjh@kr.freebsd.org
+MAINTAINER= cjh@freebsd.org
USE_X_PREFIX= yes
@@ -24,6 +28,8 @@ FONTLIST= batang10 batang10b batang12 batang12b batang14 batang14b \
gulim16b gulim18 gulim18b gulim20 gulim20b gulim24 gulim24b \
hline10 hline12 hline14 hline16 hline18 hline20 hline24
+FONTLIST_MANUAL = gulim10 gulim10b
+
BDFTOPCF= ${PREFIX}/bin/bdftopcf
MKFONTDIR= ${PREFIX}/bin/mkfontdir
CHARSETSUB= s/ksx1001.1997/ksc5601.1987/g
@@ -34,10 +40,15 @@ PLIST_SUB= FONTSDIR=${FONTSDIR}
# change charset to ksc5601.1987...
do-build:
.for FONTNAME in ${FONTLIST}
- perl -pi -e ${CHARSETSUB} ${WRKDIR}/${FONTNAME}.bdf
+ ${PERL} -pi -e ${CHARSETSUB} ${WRKDIR}/${FONTNAME}.bdf
${BDFTOPCF} ${WRKDIR}/${FONTNAME}.bdf | ${GZIP_CMD} -c \
> ${WRKDIR}/${FONTNAME}.pcf.gz
.endfor
+.for FONTNAME in ${FONTLIST_MANUAL}
+ ${GZIP_CMD} -cd ${_DISTDIR}/${FONTNAME}.pcf.gz | \
+ ${PERL} -p -e ${CHARSETSUB} | ${GZIP_CMD} -c \
+ > ${WRKDIR}/${FONTNAME}.pcf.gz
+.endfor
do-install:
-mkdir -p ${PREFIX}/${FONTSDIR}
diff --git a/korean/baekmukfonts-bdf/distinfo b/korean/baekmukfonts-bdf/distinfo
index a8c3cc71b7a0..406d3bdeb9e0 100644
--- a/korean/baekmukfonts-bdf/distinfo
+++ b/korean/baekmukfonts-bdf/distinfo
@@ -1 +1,3 @@
MD5 (baekmuk-2.0.tar.gz) = d40c31eec54172bdc80d42827066d9db
+MD5 (gulim10.pcf.gz) = d0c75e6e2200f2c3fa810c280258e816
+MD5 (gulim10b.pcf.gz) = 899105fe9a34da28ff85221fced77549