git: 2dbac118c85d - main - korean/baekmukfonts-bdf: Update to 2.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Sep 2022 01:19:39 UTC
The branch main has been updated by jkim: URL: https://cgit.FreeBSD.org/ports/commit/?id=2dbac118c85da053ce5b67c588753c90578b20c5 commit 2dbac118c85da053ce5b67c588753c90578b20c5 Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2022-09-13 01:17:56 +0000 Commit: Jung-uk Kim <jkim@FreeBSD.org> CommitDate: 2022-09-13 01:17:56 +0000 korean/baekmukfonts-bdf: Update to 2.2 --- korean/baekmukfonts-bdf/Makefile | 54 +++++++++++++++------------------------ korean/baekmukfonts-bdf/distinfo | 13 +++------- korean/baekmukfonts-bdf/pkg-descr | 17 ++---------- korean/baekmukfonts-bdf/pkg-plist | 4 +++ 4 files changed, 29 insertions(+), 59 deletions(-) diff --git a/korean/baekmukfonts-bdf/Makefile b/korean/baekmukfonts-bdf/Makefile index 88b1dfe44821..fc77acc2713a 100644 --- a/korean/baekmukfonts-bdf/Makefile +++ b/korean/baekmukfonts-bdf/Makefile @@ -1,22 +1,23 @@ PORTNAME= baekmukfonts -PORTVERSION= 2.0 -PORTREVISION= 7 +PORTVERSION= 2.2 CATEGORIES= korean x11-fonts -MASTER_SITES= ftp://ftp.mizi.com/pub/baekmuk/obsoletes/ \ - ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/ +MASTER_SITES= https://kldp.net/baekmuk/release/ \ + LOCAL/jkim PKGNAMESUFFIX= -bdf -DISTNAME= baekmuk-${PORTVERSION} -DISTFILES= baekmuk-${PORTVERSION}${EXTRACT_SUFX} \ - batang10.bdf.gz batang10b.bdf.gz \ - gulim10.bdf.gz gulim10b.bdf.gz -EXTRACT_ONLY= baekmuk-${PORTVERSION}${EXTRACT_SUFX} +DISTNAME= 865-baekmuk${PKGNAMESUFFIX}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= Free Hangul fonts for X11(baekmuk) -WWW= http://www.mizi.co.kr/software/baekmuk/index.html +COMMENT= Baekmuk family Korean bitmap fonts +WWW= https://kldp.net/baekmuk/ -BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf \ - mkfontscale:x11-fonts/mkfontscale +LICENSE= Baekmuk +LICENSE_NAME= Baekmuk +LICENSE_FILE= ${WRKSRC}/COPYRIGHT +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf + +USES= fonts FONTLIST= batang10 batang10b batang12 batang12b batang14 batang14b \ batang16 batang16b batang18 batang18b batang20 batang20b \ @@ -26,34 +27,19 @@ FONTLIST= batang10 batang10b batang12 batang12b batang14 batang14b \ gulim16b gulim18 gulim18b gulim20 gulim20b gulim24 gulim24b \ hline10 hline12 hline14 hline16 hline18 hline20 hline24 -FONTLIST_MANUAL= batang10 batang10b gulim10 gulim10b +NO_ARCH= yes +WRKSRC= ${WRKDIR}/${DISTNAME:S/^865-//} BDFTOPCF= ${PREFIX}/bin/bdftopcf -CHARSETSUB= s/ksx1001.1997/ksc5601.1987/g -MAKE_ENV= FONTSDIR=${FONTSDIR:S,${PREFIX},,} -USES= fonts perl5 -USE_PERL5= build - -# manually install hinted fonts -do-configure: -.for FONTNAME in ${FONTLIST_MANUAL} - ${GZIP_CMD} -cd ${_DISTDIR}/${FONTNAME}.bdf.gz \ - > ${WRKDIR}/${FONTNAME}.bdf -.endfor -# change charset to ksc5601.1987... do-build: -.for FONTNAME in ${FONTLIST} - ${PERL} -pi -e ${CHARSETSUB} ${WRKDIR}/${FONTNAME}.bdf - ${BDFTOPCF} ${WRKDIR}/${FONTNAME}.bdf | ${GZIP_CMD} -c \ - > ${WRKDIR}/${FONTNAME}.pcf.gz +.for f in ${FONTLIST} + ${BDFTOPCF} ${WRKSRC}/bdf/${f}.bdf | ${GZIP_CMD} -c > ${WRKDIR}/${f}.pcf.gz .endfor do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} -.for FONTNAME in ${FONTLIST} - ${INSTALL_DATA} ${WRKDIR}/${FONTNAME}.pcf.gz \ - ${STAGEDIR}${FONTSDIR} -.endfor + (cd ${WRKSRC} && ${INSTALL_DATA} COPYRIGHT COPYRIGHT.ks README \ + ${WRKSRC}/bdf/fonts.alias ${WRKDIR}/*.pcf.gz ${STAGEDIR}${FONTSDIR}) .include <bsd.port.mk> diff --git a/korean/baekmukfonts-bdf/distinfo b/korean/baekmukfonts-bdf/distinfo index 2cccb5a4ed21..2df797119ee4 100644 --- a/korean/baekmukfonts-bdf/distinfo +++ b/korean/baekmukfonts-bdf/distinfo @@ -1,10 +1,3 @@ -SHA256 (baekmuk-2.0.tar.gz) = 7d4a264919d89382cf7e2e4fecbf244ba3f15dfaf5ce1167f5419aed9ec3e43f -SIZE (baekmuk-2.0.tar.gz) = 9834480 -SHA256 (batang10.bdf.gz) = 586884bdaec7468e497e4efa7b2540067e8a14d5ca329bf1bea768d0e3b02d88 -SIZE (batang10.bdf.gz) = 140072 -SHA256 (batang10b.bdf.gz) = 096a361c7e3271d7bd042bb1baca1d7951034a742cfd6844340e92677acb3893 -SIZE (batang10b.bdf.gz) = 129197 -SHA256 (gulim10.bdf.gz) = 63ad02caedefa035bf6e7037cb469f69747d2b278bcf64226334d60f8d566356 -SIZE (gulim10.bdf.gz) = 147718 -SHA256 (gulim10b.bdf.gz) = d4d9fce1c50e7775b57051cb0e92e7141e9a9e59f3780dcd892faf7396d60fa5 -SIZE (gulim10b.bdf.gz) = 149638 +TIMESTAMP = 1663011418 +SHA256 (865-baekmuk-bdf-2.2.tar.gz) = eec120d5c7e41672c2157fb4e1040a532f1d4de79e4845c28b243d73a4daa54c +SIZE (865-baekmuk-bdf-2.2.tar.gz) = 9547995 diff --git a/korean/baekmukfonts-bdf/pkg-descr b/korean/baekmukfonts-bdf/pkg-descr index 7e0967d0447b..968d154dae84 100644 --- a/korean/baekmukfonts-bdf/pkg-descr +++ b/korean/baekmukfonts-bdf/pkg-descr @@ -1,15 +1,2 @@ -Hangul X11 fonts(baekmuk) -------------------------- - -(c) Copyright 1986-1999, Wooderart Inc. -You are hereby granted permission under all Wooderart propriety rights -to use, copy, modify, sublicense, sell, and redistribute the 4 Baekmuk -Hangul bitmap fonts for any purpose and without restriction; -provided, that this notice is left intact on all copies of such fonts -and that Wooderart's trademark is acknowledged as shown below on all -copies of the 4 Baekmuk bitmap fonts. - - BAEKMUK BATANG is a registered trademark of Wooderart Inc. - BAEKMUK GULIM is a registered trademark of Wooderart Inc. - BAEKMUK DOTUM is a registered trademark of Wooderart Inc. - BAEKMUK HEADLINE is a registered trademark of Wooderart Inc. +Baekmuk bitmap font family was originally designed by Kim Jeong-Hwan. +Baekmuk Project maintains fork of this font family under BSD license. diff --git a/korean/baekmukfonts-bdf/pkg-plist b/korean/baekmukfonts-bdf/pkg-plist index f9017fac420f..a6e715b6608a 100644 --- a/korean/baekmukfonts-bdf/pkg-plist +++ b/korean/baekmukfonts-bdf/pkg-plist @@ -1,3 +1,6 @@ +%%FONTSDIR%%/COPYRIGHT +%%FONTSDIR%%/COPYRIGHT.ks +%%FONTSDIR%%/README %%FONTSDIR%%/batang10.pcf.gz %%FONTSDIR%%/batang10b.pcf.gz %%FONTSDIR%%/batang12.pcf.gz @@ -19,6 +22,7 @@ %%FONTSDIR%%/dotum18.pcf.gz %%FONTSDIR%%/dotum20.pcf.gz %%FONTSDIR%%/dotum24.pcf.gz +%%FONTSDIR%%/fonts.alias %%FONTSDIR%%/gulim10.pcf.gz %%FONTSDIR%%/gulim10b.pcf.gz %%FONTSDIR%%/gulim12.pcf.gz