From 6a5f56f2a5ba5a7cfb6b476301e340b6546f0827 Mon Sep 17 00:00:00 2001
From: Andreas Wacknitz <A.Wacknitz@gmx.de>
Date: Sat, 03 Dec 2022 14:50:48 +0100
Subject: [PATCH] add mona-sans font

---
 components/fonts/mona-sans/mona-sans.p5m                 |   28 ++++++++++++++
 components/fonts/mona-sans/pkg5                          |   13 ++++++
 components/fonts/mona-sans/Makefile                      |   40 ++++++++++++++++++++
 components/fonts/mona-sans/manifests/sample-manifest.p5m |   28 ++++++++++++++
 4 files changed, 109 insertions(+), 0 deletions(-)

diff --git a/components/fonts/mona-sans/Makefile b/components/fonts/mona-sans/Makefile
new file mode 100644
index 0000000..0f0474a
--- /dev/null
+++ b/components/fonts/mona-sans/Makefile
@@ -0,0 +1,40 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source.  A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2022 Andreas Wacknitz
+#
+
+BUILD_STYLE= archive
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=	        mona-sans
+COMPONENT_VERSION=      1.0
+COMPONENT_SUMMARY=      Mona Sans is a variable font inspired by industrial-era grotesques
+COMPONENT_PROJECT_URL=  https://github.com/github/mona-sans
+COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
+COMPONENT_ARCHIVE_HASH= sha256:9faef701edf70b22d4f55a687e4fe9d1d9fad3a9172adee991c217d923fb6635
+COMPONENT_LICENSE=      SIL Open Font License Version 1.1
+COMPONENT_LICENSE_FILE=	LICENSE
+
+FONT_TYPE= TTF
+
+include $(WS_MAKE_RULES)/font.mk
+
+COMPONENT_FONT_SRC_DIR= dist
+COMPONENT_FONT_FILES += *.ttf
+
+COMPONENT_FONTCONF_SRC_DIR= 
+COMPONENT_FONTCONF_FILES=
+
+# Auto-generated dependencies
diff --git a/components/fonts/mona-sans/manifests/sample-manifest.p5m b/components/fonts/mona-sans/manifests/sample-manifest.p5m
new file mode 100644
index 0000000..7e44d8f
--- /dev/null
+++ b/components/fonts/mona-sans/manifests/sample-manifest.p5m
@@ -0,0 +1,28 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source.  A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2022 <contributor>
+#
+
+set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.human-version value=$(HUMAN_VERSION)
+set name=pkg.summary value="$(COMPONENT_SUMMARY)"
+set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
+
+file path=usr/share/fonts/TrueType/mona-sans/MonaSans.ttf
+file path=usr/share/fonts/TrueType/mona-sans/fonts.dir
+file path=usr/share/fonts/TrueType/mona-sans/fonts.scale
diff --git a/components/fonts/mona-sans/mona-sans.p5m b/components/fonts/mona-sans/mona-sans.p5m
new file mode 100644
index 0000000..46934d4
--- /dev/null
+++ b/components/fonts/mona-sans/mona-sans.p5m
@@ -0,0 +1,28 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source.  A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2022 Andreas Wacknitz
+#
+
+set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.human-version value=$(HUMAN_VERSION)
+set name=pkg.summary value="$(COMPONENT_SUMMARY)"
+set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
+
+file path=usr/share/fonts/TrueType/mona-sans/MonaSans.ttf
+file path=usr/share/fonts/TrueType/mona-sans/fonts.dir
+file path=usr/share/fonts/TrueType/mona-sans/fonts.scale
diff --git a/components/fonts/mona-sans/pkg5 b/components/fonts/mona-sans/pkg5
new file mode 100644
index 0000000..d7e2662
--- /dev/null
+++ b/components/fonts/mona-sans/pkg5
@@ -0,0 +1,13 @@
+{
+    "dependencies": [
+        "SUNWcs",
+        "shell/ksh93",
+        "system/library",
+        "system/library/fontconfig",
+        "x11/font-utilities"
+    ],
+    "fmris": [
+        "system/font/truetype/mona-sans"
+    ],
+    "name": "mona-sans"
+}
\ No newline at end of file

--
Gitblit v1.9.3