Date: Wed, 3 Mar 2021 15:42:09 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567090 - in head/japanese/font-hackgen-nerd: . files Message-ID: <202103031542.123Fg90g050801@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ume Date: Wed Mar 3 15:42:09 2021 New Revision: 567090 URL: https://svnweb.freebsd.org/changeset/ports/567090 Log: copy font-hackgen for preparing of font-hackgen-nerd. Added: head/japanese/font-hackgen-nerd/ - copied from r567086, head/japanese/font-hackgen/ Replaced: head/japanese/font-hackgen-nerd/Makefile - copied unchanged from r567089, head/japanese/font-hackgen/Makefile head/japanese/font-hackgen-nerd/distinfo - copied unchanged from r567087, head/japanese/font-hackgen/distinfo head/japanese/font-hackgen-nerd/files/20-unhint-hackgen.conf - copied unchanged from r567089, head/japanese/font-hackgen/files/20-unhint-hackgen.conf head/japanese/font-hackgen-nerd/files/62-fonts-hackgen.conf - copied unchanged from r567089, head/japanese/font-hackgen/files/62-fonts-hackgen.conf head/japanese/font-hackgen-nerd/pkg-plist - copied unchanged from r567089, head/japanese/font-hackgen/pkg-plist Copied: head/japanese/font-hackgen-nerd/Makefile (from r567089, head/japanese/font-hackgen/Makefile) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/font-hackgen-nerd/Makefile Wed Mar 3 15:42:09 2021 (r567090, copy of r567089, head/japanese/font-hackgen/Makefile) @@ -0,0 +1,64 @@ +# $FreeBSD$ + +PORTNAME= hackgen +PORTVERSION= 2.2.3 +#PORTREVISION= 0 +CATEGORIES= japanese x11-fonts +MASTER_SITES= https://github.com/yuru7/HackGen/releases/download/v${PORTVERSION}/ +PKGNAMEPREFIX= ja-font- +DISTNAME= HackGen_v${DISTVERSION} + +MAINTAINER= ume@FreeBSD.org +COMMENT= HackGen is a composite font of Hack and GenJyuu-Gothic + +LICENSE= OFL11 + +USES= fonts:fc zip +FONTPATHSPEC= ${FONTNAME}:pri=60 +NO_ARCH= yes +NO_BUILD= yes +PKGINSTALL= ${WRKDIR}/pkg-install +PKGDEINSTALL= ${WRKDIR}/pkg-install +SUB_FILES= pkg-install +WRKSRC= ${WRKDIR}/${DISTNAME} + +OPTIONS_MULTI= FONT_FAMILY +OPTIONS_MULTI_FONT_FAMILY= HACKGEN HACKGEN_CONS HACKGEN35 HACKGEN35_CONS +OPTIONS_DEFAULT= HACKGEN HACKGEN_CONS HACKGEN35 HACKGEN35_CONS +OPTIONS_SUB= yes +HACKGEN_DESC= HackGen +HACKGEN_CONS_DESC= HackGen Console +HACKGEN35_DESC= HackGen35 +HACKGEN35_CONS_DESC= HackGen35 Console + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MHACKGEN} +HACKGEN_FONTS+= HackGen-Regular HackGen-Bold +.endif +.if ${PORT_OPTIONS:MHACKGEN_CONS} +HACKGEN_FONTS+= HackGenConsole-Regular HackGenConsole-Bold +.endif +.if ${PORT_OPTIONS:MHACKGEN35} +HACKGEN_FONTS+= HackGen35-Regular HackGen35-Bold +.endif +.if ${PORT_OPTIONS:MHACKGEN35_CONS} +HACKGEN_FONTS+= HackGen35Console-Regular HackGen35Console-Bold +.endif + +do-install: + ${MKDIR} ${STAGEDIR}${FONTSDIR} +.for FONT in ${HACKGEN_FONTS} + ${INSTALL_DATA} ${WRKSRC}/${FONT}.ttf ${STAGEDIR}${FONTSDIR} +.endfor + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d + ${INSTALL_DATA} ${FILESDIR}/20-unhint-${FONTNAME}.conf \ + ${FILESDIR}/62-fonts-${FONTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail + ${LN} -s -f ../conf.avail/20-unhint-${FONTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${FONTNAME}.conf + ${LN} -s -f ../conf.avail/62-fonts-${FONTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${FONTNAME}.conf + +.include <bsd.port.mk> Copied: head/japanese/font-hackgen-nerd/distinfo (from r567087, head/japanese/font-hackgen/distinfo) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/font-hackgen-nerd/distinfo Wed Mar 3 15:42:09 2021 (r567090, copy of r567087, head/japanese/font-hackgen/distinfo) @@ -0,0 +1,3 @@ +TIMESTAMP = 1614781003 +SHA256 (HackGen_v2.2.3.zip) = 81dc942372856d7d7d0e3f8a1ecef11471e23161dce25165f0cddc01bcef62f1 +SIZE (HackGen_v2.2.3.zip) = 40427167 Copied: head/japanese/font-hackgen-nerd/files/20-unhint-hackgen.conf (from r567089, head/japanese/font-hackgen/files/20-unhint-hackgen.conf) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/font-hackgen-nerd/files/20-unhint-hackgen.conf Wed Mar 3 15:42:09 2021 (r567090, copy of r567089, head/japanese/font-hackgen/files/20-unhint-hackgen.conf) @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<!-- $FreeBSD$ --> +<fontconfig> + <match target="font"> + <or> + <test name="family"> + <string>HackGen-Regular</string> + </test> + <test name="family"> + <string>HackGen-Bold</string> + </test> + <test name="family"> + <string>HackGenConsole-Regular</string> + </test> + <test name="family"> + <string>HackGenConsole-Bold</string> + </test> + <test name="family"> + <string>HackGen35-Regular</string> + </test> + <test name="family"> + <string>HackGen35-Bold</string> + </test> + <test name="family"> + <string>HackGen35Console-Regular</string> + </test> + <test name="family"> + <string>HackGen35Console-Bold</string> + </test> + </or> + <edit name="autohint"> + <bool>false</bool> + </edit> + </match> +</fontconfig> Copied: head/japanese/font-hackgen-nerd/files/62-fonts-hackgen.conf (from r567089, head/japanese/font-hackgen/files/62-fonts-hackgen.conf) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/font-hackgen-nerd/files/62-fonts-hackgen.conf Wed Mar 3 15:42:09 2021 (r567090, copy of r567089, head/japanese/font-hackgen/files/62-fonts-hackgen.conf) @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<!-- $FreeBSD$ --> +<fontconfig> + <alias> + <family>monospace</family> + <prefer> + <family>HackGen-Regular</family> + <family>HackGen-Bold</family> + <family>HackGenConsole-Regular</family> + <family>HackGenConsole-Bold</family> + <family>HackGen35-Regular</family> + <family>HackGen35-Bold</family> + <family>HackGen35Console-Regular</family> + <family>HackGen35Console-Bold</family> + </prefer> + </alias> +</fontconfig> Copied: head/japanese/font-hackgen-nerd/pkg-plist (from r567089, head/japanese/font-hackgen/pkg-plist) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/font-hackgen-nerd/pkg-plist Wed Mar 3 15:42:09 2021 (r567090, copy of r567089, head/japanese/font-hackgen/pkg-plist) @@ -0,0 +1,12 @@ +etc/fonts/conf.avail/20-unhint-hackgen.conf +etc/fonts/conf.avail/62-fonts-hackgen.conf +etc/fonts/conf.d/20-unhint-hackgen.conf +etc/fonts/conf.d/62-fonts-hackgen.conf +%%HACKGEN%%%%FONTSDIR%%/HackGen-Regular.ttf +%%HACKGEN%%%%FONTSDIR%%/HackGen-Bold.ttf +%%HACKGEN_CONS%%%%FONTSDIR%%/HackGenConsole-Regular.ttf +%%HACKGEN_CONS%%%%FONTSDIR%%/HackGenConsole-Bold.ttf +%%HACKGEN35%%%%FONTSDIR%%/HackGen35-Regular.ttf +%%HACKGEN35%%%%FONTSDIR%%/HackGen35-Bold.ttf +%%HACKGEN35_CONS%%%%FONTSDIR%%/HackGen35Console-Regular.ttf +%%HACKGEN35_CONS%%%%FONTSDIR%%/HackGen35Console-Bold.ttf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103031542.123Fg90g050801>