diff options
Diffstat (limited to 'korean/baekmukfonts-bdf/Makefile')
-rw-r--r-- | korean/baekmukfonts-bdf/Makefile | 17 |
1 files changed, 14 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} |