mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Install a manually hinted gulim10 and gulim10b fonts.
(Gulim 10 points) Hinting by Won-kyu Park <wkpark@chem.skku.ac.kr>
This commit is contained in:
parent
43d4ec4076
commit
44a902cb7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32225
@ -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}
|
||||
|
@ -1 +1,3 @@
|
||||
MD5 (baekmuk-2.0.tar.gz) = d40c31eec54172bdc80d42827066d9db
|
||||
MD5 (gulim10.pcf.gz) = d0c75e6e2200f2c3fa810c280258e816
|
||||
MD5 (gulim10b.pcf.gz) = 899105fe9a34da28ff85221fced77549
|
||||
|
Loading…
Reference in New Issue
Block a user