Skip to content

Commit

Permalink
korean/nanumfonts: Split korean/nanumfonts-{otf,ttf} into multiple ports
Browse files Browse the repository at this point in the history
  • Loading branch information
juikim committed Feb 11, 2022
1 parent 18dd5d2 commit 6973156
Show file tree
Hide file tree
Showing 31 changed files with 240 additions and 107 deletions.
2 changes: 2 additions & 0 deletions MOVED
Expand Up @@ -16888,3 +16888,5 @@ www/annie|www/lux|2022-02-03|Project renamed
devel/rubygem-gettext_i18n_rails_js-rails60|devel/rubygem-gettext_i18n_rails_js-rails61|2022-02-07|Obsolete use devel/rubygem-gettext_i18n_rails_js-rails61 instead
security/rubygem-devise-two-factor-rails60|security/rubygem-devise-two-factor-rails61|2022-02-07|Obsolete use security/rubygem-devise-two-factor-rails61 instead
korean/nanumcoding-ttf|korean/nanum-gothic-coding|2022-02-10|Renamed to match upstream naming
korean/nanumfonts-otf|korean/nanumfonts|2022-02-10|Split into multiple ports, use korean/nanumfonts meta-port instead
korean/nanumfonts-ttf|korean/nanumfonts|2022-02-10|Split into multiple ports, use korean/nanumfonts meta-port instead
13 changes: 11 additions & 2 deletions korean/Makefile
Expand Up @@ -26,9 +26,18 @@
SUBDIR += libreoffice
SUBDIR += munhwafonts-cid
SUBDIR += nabi
SUBDIR += nanum-barun-gothic
SUBDIR += nanum-barun-pen
SUBDIR += nanum-brush
SUBDIR += nanum-gothic
SUBDIR += nanum-gothic-coding
SUBDIR += nanumfonts-otf
SUBDIR += nanumfonts-ttf
SUBDIR += nanum-gothic-eco
SUBDIR += nanum-myeongjo
SUBDIR += nanum-myeongjo-eco
SUBDIR += nanum-pen
SUBDIR += nanum-square
SUBDIR += nanum-square-round
SUBDIR += nanumfonts
SUBDIR += nhpf
SUBDIR += p5-Lingua-KO-Hangul-Util
SUBDIR += p5-Lingua-KO-Romanize-Hangul
Expand Down
4 changes: 4 additions & 0 deletions korean/nanum-barun-gothic/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -barun-gothic
FONTDESC= NanumBarunGothic

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-barun-gothic/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644538184
SHA256 (nanum/20220210/nanum-barun-gothic.zip) = 950975a416c20ff7aabfeaf549d741a95f69eaf4a86dce2d7845fab909df6b68
SIZE (nanum/20220210/nanum-barun-gothic.zip) = 15416063
4 changes: 4 additions & 0 deletions korean/nanum-barun-pen/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -barun-pen
FONTDESC= NanumBarunpen

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-barun-pen/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644545200
SHA256 (nanum/20220210/nanum-barun-pen.zip) = 855e390ea58c1d9bae57f73a2c76527a4307e355c84c2b245575589bad7f96a0
SIZE (nanum/20220210/nanum-barun-pen.zip) = 8653739
4 changes: 4 additions & 0 deletions korean/nanum-brush/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -brush
FONTDESC= NanumBrush

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-brush/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644548187
SHA256 (nanum/20220210/nanum-brush.zip) = 889a836662d40683d99ba525a331adfc781dd7733fba7bfa84646eff01401026
SIZE (nanum/20220210/nanum-brush.zip) = 2499689
4 changes: 4 additions & 0 deletions korean/nanum-gothic-eco/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -gothic-eco
FONTDESC= NanumGothicEco

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-gothic-eco/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644545469
SHA256 (nanum/20220210/nanum-gothic-eco.zip) = f5dcfb31d4f69f0daef091126dcdce5e394f23a2b0d1038c8248ef88464c7171
SIZE (nanum/20220210/nanum-gothic-eco.zip) = 19900637
4 changes: 4 additions & 0 deletions korean/nanum-gothic/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -gothic
FONTDESC= NanumGothic

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-gothic/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644545617
SHA256 (nanum/20220210/nanum-gothic.zip) = 9cea4aa259826001727cdcbed34387acd7924079246f9fbb2bd0d0c650bbd312
SIZE (nanum/20220210/nanum-gothic.zip) = 12905726
4 changes: 4 additions & 0 deletions korean/nanum-myeongjo-eco/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -myeongjo-eco
FONTDESC= NanumMyeongjoEco

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-myeongjo-eco/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644545944
SHA256 (nanum/20220210/nanum-myeongjo-eco.zip) = dc600a445171114fedb70a219687e9d6d992b5062b2b5d94691fc9c1fac507d8
SIZE (nanum/20220210/nanum-myeongjo-eco.zip) = 15522508
4 changes: 4 additions & 0 deletions korean/nanum-myeongjo/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -myeongjo
FONTDESC= NanumMyeongjo

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-myeongjo/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644545768
SHA256 (nanum/20220210/nanum-myeongjo.zip) = eb0270b3f76ca4560c1ea36758d4a31d9202c7b482b5be580341599c4c61f80c
SIZE (nanum/20220210/nanum-myeongjo.zip) = 7353677
4 changes: 4 additions & 0 deletions korean/nanum-pen/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -pen
FONTDESC= NanumPen

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-pen/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644546286
SHA256 (nanum/20220210/nanum-pen.zip) = 4c9da2078a195abde7c26c852cc3e26059264fa007aea5ac0f00118428976105
SIZE (nanum/20220210/nanum-pen.zip) = 2537830
4 changes: 4 additions & 0 deletions korean/nanum-square-round/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -square-round
FONTDESC= NanumSquareRound

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-square-round/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644547615
SHA256 (nanum/20220210/nanum-square-round.zip) = 7ebb5ef72983dceb6856fd21c977877aa2a031a26d17de639c98e8818ef4d6aa
SIZE (nanum/20220210/nanum-square-round.zip) = 2535434
4 changes: 4 additions & 0 deletions korean/nanum-square/Makefile
@@ -0,0 +1,4 @@
PKGNAMESUFFIX= -square
FONTDESC= NanumSquare

.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
3 changes: 3 additions & 0 deletions korean/nanum-square/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1644547985
SHA256 (nanum/20220210/nanum-square.zip) = 8a9f4ce7638feb73cde7adfebc2ec4f2dcee4bcebbb07e0fa1aae02f7340f3e8
SIZE (nanum/20220210/nanum-square.zip) = 4203717
81 changes: 0 additions & 81 deletions korean/nanumfonts-otf/Makefile

This file was deleted.

7 changes: 0 additions & 7 deletions korean/nanumfonts-otf/distinfo.otf

This file was deleted.

7 changes: 0 additions & 7 deletions korean/nanumfonts-otf/distinfo.ttf

This file was deleted.

4 changes: 0 additions & 4 deletions korean/nanumfonts-otf/pkg-descr

This file was deleted.

6 changes: 0 additions & 6 deletions korean/nanumfonts-ttf/Makefile

This file was deleted.

25 changes: 25 additions & 0 deletions korean/nanumfonts/Makefile
@@ -0,0 +1,25 @@
PORTNAME= nanumfonts
PORTVERSION= 20220210
CATEGORIES= korean x11-fonts

MAINTAINER= jkim@FreeBSD.org
COMMENT= Nanum family Hangul fonts (meta-port)

RUN_DEPENDS= ko-nanum-barun-gothic>0:korean/nanum-barun-gothic \
ko-nanum-barun-pen>0:korean/nanum-barun-pen \
ko-nanum-brush>0:korean/nanum-brush \
ko-nanum-gothic>0:korean/nanum-gothic \
ko-nanum-myeongjo>0:korean/nanum-myeongjo \
ko-nanum-pen>0:korean/nanum-pen \
ko-nanum-square>0:korean/nanum-square \
ko-nanum-square-round>0:korean/nanum-square-round

USES= metaport

OPTIONS_DEFINE= ECO

ECO_DESC= Install Eco variant fonts
ECO_RUN_DEPENDS=ko-nanum-gothic-eco>0:korean/nanum-gothic-eco \
ko-nanum-myeongjo-eco>0:korean/nanum-myeongjo-eco

.include <bsd.port.mk>
30 changes: 30 additions & 0 deletions korean/nanumfonts/Makefile.common
@@ -0,0 +1,30 @@
PORTNAME= nanum
DISTVERSION?= 20220210
CATEGORIES= korean x11-fonts
MASTER_SITES= https://hangeul.naver.com/hangeul_static/webfont/zips/ \
LOCAL/jkim
DISTNAME?= ${PORTNAME}${PKGNAMESUFFIX}
DIST_SUBDIR= ${PORTNAME}/${DISTVERSION}

COMMENT= ${FONTDESC} Hangul fonts (${FLAVOR:tu})
MAINTAINER= jkim@FreeBSD.org

LICENSE= OFL11
LICENSE_FILE= ${FILESDIR}/LICENSE

FLAVORS= otf ttf
FLAVOR?= ${FLAVORS:[2]}

DESCR= ${.CURDIR}/../../korean/nanumfonts/pkg-descr
FILESDIR= ${.CURDIR}/../../korean/nanumfonts/files
NO_WRKSUBDIR= yes
NO_BUILD= yes
USES= fonts zip

do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.${FLAVOR} ${STAGEDIR}${FONTSDIR}
@${FIND} ${STAGEDIR}${FONTSDIR} -not -type d | ${SORT} | \
${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST}

.include <bsd.port.mk>
98 changes: 98 additions & 0 deletions korean/nanumfonts/files/LICENSE
@@ -0,0 +1,98 @@
Copyright (c) 2010, NAVER Corporation (https://www.navercorp.com/),
with Reserved Font Name Nanum, Naver Nanum, NanumGothic, Naver NanumGothic,
NanumMyeongjo, Naver NanumMyeongjo, NanumBrush, Naver NanumBrush, NanumPen,
Naver NanumPen, Naver NanumGothicEco, NanumGothicEco, Naver NanumMyeongjoEco,
NanumMyeongjoEco, Naver NanumGothicLight, NanumGothicLight, NanumBarunGothic,
Naver NanumBarunGothic, NanumSquareRound, NanumBarunPen, MaruBuri

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
4 changes: 4 additions & 0 deletions korean/nanumfonts/pkg-descr
@@ -0,0 +1,4 @@
Nanum font family is free Hangul fonts developed by NAVER Corporation
and distributed under SIL Open Font License (OFL).

WWW: https://hangeul.naver.com/

0 comments on commit 6973156

Please sign in to comment.