pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/fonts/recursive-ttf



Module Name:    pkgsrc
Committed By:   rhialto
Date:           Sat Oct 30 13:46:42 UTC 2021

Modified Files:
        pkgsrc/fonts/recursive-ttf: Makefile PLIST

Log Message:
fonts/recursive-ttf: add "code" variant of the fonts.

These have code ligatures & several stylistic sets pre-applied so they
will work by default in most code environments & apps. These are also
named & configured in a way that enables their use in code themes that
utilize italic & bold styles. If you wish to configure specific features
in Rec Mono fonts, see
Recursive Code Config https://github.com/arrowtype/recursive-code-config

- Regular, Italic, Bold, & Bold Italic static fonts
- Frozen-in Code Ligatures
- An abbreviated family name to enable italic themes on macOS
- Reduced-slant italics for easier readability in code (normal Recursive
  Italics have slnt=-15, which is pretty intense)
- Frozen-in OpenType features to enhance legibility for code (e.g.
  making 1 and l instantly recognizable)
  - `ss03` # simplified f
  - `ss05` # simplified l
  - `ss08` # serifless L and Z
  - `ss09` # simplified 6 and 9
  - `ss12` # simplified @


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/fonts/recursive-ttf/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/fonts/recursive-ttf/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/recursive-ttf/Makefile
diff -u pkgsrc/fonts/recursive-ttf/Makefile:1.5 pkgsrc/fonts/recursive-ttf/Makefile:1.6
--- pkgsrc/fonts/recursive-ttf/Makefile:1.5     Sat Oct 30 12:37:38 2021
+++ pkgsrc/fonts/recursive-ttf/Makefile Sat Oct 30 13:46:42 2021
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2021/10/30 12:37:38 rhialto Exp $
+# $NetBSD: Makefile,v 1.6 2021/10/30 13:46:42 rhialto Exp $
 
 GITHUB_PROJECT=        recursive
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 DISTNAME=      ArrowType-Recursive-${PKGVERSION_NOREV}
 PKGNAME=       recursive-ttf-1.082
+PKGREVISION=   1
 CATEGORIES=    fonts
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=arrowtype/}
 EXTRACT_SUFX=  .zip
@@ -14,11 +15,21 @@ COMMENT=    Variable font family for code &
 LICENSE=       ofl-v1.1
 
 # \todo: Build from source.
-# \todo: Install more of the fonts?
+# \todo: Install even more of the fonts? woff?
 
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
 WRKSRC=                ${WRKDIR}/${DISTNAME}/Recursive_Desktop/separate_statics/OTF
+WRKSRC2=       ${WRKDIR}/${DISTNAME}/Recursive_Code
+
+.PHONY: install-fonts2
+
+do-install: install-fonts2
+
+install-fonts2:
+       @${STEP_MSG} "Installing all .ttf files from ${WRKSRC2}"
+       ${FIND} ${WRKSRC2} -name ${DESTDIR:T} -prune -o -iname '*.ttf' -exec \
+               ${INSTALL_DATA} "{}" ${DESTDIR}${TTF_FONTS_DIR} ";"
 
 .include "../../mk/fonts.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/fonts/recursive-ttf/PLIST
diff -u pkgsrc/fonts/recursive-ttf/PLIST:1.2 pkgsrc/fonts/recursive-ttf/PLIST:1.3
--- pkgsrc/fonts/recursive-ttf/PLIST:1.2        Sun Jan 31 15:44:47 2021
+++ pkgsrc/fonts/recursive-ttf/PLIST    Sat Oct 30 13:46:42 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/01/31 15:44:47 rhialto Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/10/30 13:46:42 rhialto Exp $
 share/fonts/X11/OTF/RecursiveMonoCslSt-BdItalic.otf
 share/fonts/X11/OTF/RecursiveMonoCslSt-Black.otf
 share/fonts/X11/OTF/RecursiveMonoCslSt-BlkItalic.otf
@@ -64,3 +64,19 @@ share/fonts/X11/OTF/RecursiveSansLnrSt-S
 share/fonts/X11/OTF/RecursiveSansLnrSt-XBlk.otf
 share/fonts/X11/OTF/RecursiveSansLnrSt-XBlkItalic.otf
 @pkgdir share/fonts/X11/OTF
+share/fonts/X11/TTF/RecMonoCasual-Bold-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoCasual-BoldItalic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoCasual-Italic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoCasual-Regular-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoDuotone-Bold-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoDuotone-BoldItalic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoDuotone-Italic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoDuotone-Regular-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoLinear-Bold-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoLinear-BoldItalic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoLinear-Italic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoLinear-Regular-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoSemicasual-Bold-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoSemicasual-BoldItalic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoSemicasual-Italic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoSemicasual-Regular-${PKGVERSION}.ttf



Home | Main Index | Thread Index | Old Index