git: 4ecd4af284b2 - main - Add chinese/elffont, Typeface blending Bopomofo phonetic symbols with "Elvish"

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Wed, 30 Oct 2024 16:53:17 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4ecd4af284b23358d11041e495bbdea9eefd9588

commit 4ecd4af284b23358d11041e495bbdea9eefd9588
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2024-10-30 16:53:05 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-10-30 16:53:05 +0000

    Add chinese/elffont, Typeface blending Bopomofo phonetic symbols with "Elvish"
---
 chinese/Makefile          |  1 +
 chinese/elffont/Makefile  | 37 +++++++++++++++++++++++++++++++++++++
 chinese/elffont/distinfo  |  3 +++
 chinese/elffont/pkg-descr |  4 ++++
 4 files changed, 45 insertions(+)

diff --git a/chinese/Makefile b/chinese/Makefile
index 659a9cf045e6..52ad84e60eb2 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -20,6 +20,7 @@
     SUBDIR += cless
     SUBDIR += cnprint
     SUBDIR += dictd-database
+    SUBDIR += elffont
     SUBDIR += enscript
     SUBDIR += eterm
     SUBDIR += fandol
diff --git a/chinese/elffont/Makefile b/chinese/elffont/Makefile
new file mode 100644
index 000000000000..ab3691a7badb
--- /dev/null
+++ b/chinese/elffont/Makefile
@@ -0,0 +1,37 @@
+PORTNAME=	elffont
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0
+CATEGORIES=	chinese x11-fonts
+
+MAINTAINER=	lwhsu@FreeBSD.org
+COMMENT=	Typeface blending Bopomofo phonetic symbols with "Elvish"
+WWW=		https://github.com/justfont/Elffont/
+
+LICENSE=	unknown
+LICENSE_NAME=	Elffont
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
+USES=		fonts
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	justfont
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+WRKSRC=		${WRKDIR}/Elffont-${DISTVERSION}
+
+TYPES=		fern rock
+
+.for type in ${TYPES}
+PLIST_FILES+=	${FONTSDIR}/elffont-${type}.otf
+.endfor
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+.for type in ${TYPES}
+	${INSTALL_DATA} ${WRKSRC}/fonts/elffont-${type}.otf ${STAGEDIR}${FONTSDIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/chinese/elffont/distinfo b/chinese/elffont/distinfo
new file mode 100644
index 000000000000..62f3995f71d8
--- /dev/null
+++ b/chinese/elffont/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730305265
+SHA256 (justfont-elffont-v1.0_GH0.tar.gz) = 97ba5a5859c02820976707925d505a7bc9745ba63446a53ae0dc2fe8a2cef5bd
+SIZE (justfont-elffont-v1.0_GH0.tar.gz) = 39642580
diff --git a/chinese/elffont/pkg-descr b/chinese/elffont/pkg-descr
new file mode 100644
index 000000000000..51f37c8145ef
--- /dev/null
+++ b/chinese/elffont/pkg-descr
@@ -0,0 +1,4 @@
+justfont collaborates with calligrapher Daphne to release Elffont, a unique
+typeface blending Bopomofo phonetic symbols with a mystical "Elvish" style.
+
+https://blog.justfont.com/2024/10/elffont/