From 8a6f8aa6c19e1751504ed28ecbc7c6a216ab9397 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 9 Dec 2021 08:39:06 +0100 Subject: x11-fonts/fnt: New port: Missing font manager for UNIX --- x11-fonts/Makefile | 1 + x11-fonts/fnt/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ x11-fonts/fnt/distinfo | 3 +++ x11-fonts/fnt/pkg-descr | 4 ++++ 4 files changed, 52 insertions(+) create mode 100644 x11-fonts/fnt/Makefile create mode 100644 x11-fonts/fnt/distinfo create mode 100644 x11-fonts/fnt/pkg-descr diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 39ef8f235bca..3150648388ab 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -58,6 +58,7 @@ SUBDIR += fira SUBDIR += firacode SUBDIR += firago + SUBDIR += fnt SUBDIR += fntsample SUBDIR += font-adobe-100dpi SUBDIR += font-adobe-75dpi diff --git a/x11-fonts/fnt/Makefile b/x11-fonts/fnt/Makefile new file mode 100644 index 000000000000..1a46590e3fc6 --- /dev/null +++ b/x11-fonts/fnt/Makefile @@ -0,0 +1,44 @@ +# Created by: Emanuel Haupt + +PORTNAME= fnt +PORTVERSION= 1.4.1 +CATEGORIES= x11-fonts sysutils + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Missing font manager for UNIX + +LICENSE= GPLv3 + +RUN_DEPENDS= bash:shells/bash \ + chafa:graphics/chafa \ + lynx:www/lynx \ + otfinfo:print/typetools + +USES= shebangfix +USE_GITHUB= yes +GH_ACCOUNT= alexmyczko + +SHEBANG_FILES= fnt + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/fnt \ + share/man/man1/fnt.1.gz + +OPTIONS_DEFINE= ZSH +OPTIONS_DEFAULT= ZSH + +ZSH_PLIST_FILES= share/zsh/site-functions/_fnt + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ + ${STAGEDIR}${MANPREFIX}/share/man/man1 + +do-install-ZSH-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ + ${INSTALL_DATA} ${WRKSRC}/completions/_fnt \ + ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ + +.include diff --git a/x11-fonts/fnt/distinfo b/x11-fonts/fnt/distinfo new file mode 100644 index 000000000000..4e0fbc588536 --- /dev/null +++ b/x11-fonts/fnt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1638983233 +SHA256 (alexmyczko-fnt-1.4.1_GH0.tar.gz) = 263edd4e3ebd71bb5c63e5f063bfbed6a711b5786e6f6174c6ee586e530c1727 +SIZE (alexmyczko-fnt-1.4.1_GH0.tar.gz) = 6949 diff --git a/x11-fonts/fnt/pkg-descr b/x11-fonts/fnt/pkg-descr new file mode 100644 index 000000000000..c5cf66f2de1b --- /dev/null +++ b/x11-fonts/fnt/pkg-descr @@ -0,0 +1,4 @@ +The missing font manager for UNIX. It helps you to download vector fonts +from Debian sid, and Google Web Fonts. + +WWW: https://github.com/alexmyczko/fnt -- cgit v1.2.3