summaryrefslogtreecommitdiffstats
path: root/korean/baekmukfonts-bdf
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2000-09-03 13:05:40 +0000
committercjh <cjh@FreeBSD.org>2000-09-03 13:05:40 +0000
commit4a6935e58724101adcfc39adcd7d711f22c69b68 (patch)
tree7985bb54f6b510a3d0354df85d7bc163ce572bcb /korean/baekmukfonts-bdf
parentbfb528b2294ec1948cb9e381ba88f44ad3f388b0 (diff)
downloadFreeBSD-ports-4a6935e58724101adcfc39adcd7d711f22c69b68.zip
FreeBSD-ports-4a6935e58724101adcfc39adcd7d711f22c69b68.tar.gz
Install a manually hinted gulim10 and gulim10b fonts.
(Gulim 10 points) Hinting by Won-kyu Park <wkpark@chem.skku.ac.kr>
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 aa180ce..cc6c8dc 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 a8c3cc7..406d3bde 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
OpenPOWER on IntegriCloud