tAdd ufl fonts as well. - google-fonts - Google Fonts portage overlay (HTM) git clone https://git.parazyd.org/google-fonts (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README --- (DIR) commit cb4abe6ecca2c35293a300645a243aab392ade14 (DIR) parent 42daef7faaf13fea55d73d74b0fcd52837f2f650 (HTM) Author: parazyd <parazyd@dyne.org> Date: Thu, 14 Jan 2021 11:13:02 +0100 Add ufl fonts as well. Diffstat: M Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) --- (DIR) diff --git a/Makefile b/Makefile t@@ -10,7 +10,11 @@ OFL_LICENSE = OFL-1.1 OFL_SHLICENSE = ofl OFL_FONTS = $(shell ./tools/getfonts $(REPO)/ofl) -all: $(APACHE_FONTS) $(OFL_FONTS) +UFL_LICENSE = UbuntuFontLicense-1.0 +UFL_SHLICENSE = ufl +UFL_FONTS = $(shell ./tools/getfonts $(REPO)/ufl) + +all: $(APACHE_FONTS) $(OFL_FONTS) $(UFL_FONTS) update: cd $(REPO) && git pull origin master t@@ -39,4 +43,15 @@ $(OFL_FONTS): -e "s,@FONT@,$(shell basename $@)," \ < ebuild.skel > $@/$(shell basename $@)-9999.ebuild +$(UFL_FONTS): + mkdir -p $@ + cp metadata.skel $@/metadata.xml + sed \ + -e "s,@PRETTYNAME@,$(shell ./tools/prettyname $(REPO)/ufl/$(shell basename $@) | tr '+' ' ')," \ + -e "s,@PRETTYNAMEURL@,$(shell ./tools/prettyname $(REPO)/ufl/$(shell basename $@))," \ + -e "s,@LICENSE@,$(UFL_LICENSE)," \ + -e "s,@SHLICENSE@,$(UFL_SHLICENSE)," \ + -e "s,@FONT@,$(shell basename $@)," \ + < ebuild.skel > $@/$(shell basename $@)-9999.ebuild + .PHONY: all update