diff options
author | cpm <cpm@FreeBSD.org> | 2016-10-28 08:42:27 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2016-10-28 08:42:27 +0800 |
commit | ea383f0dafd15223cc4f729da52772211f1ffb8f (patch) | |
tree | 4bf6fde1ba2bbb8b514e7760dbadd7d7f8adabbb /x11-fonts | |
parent | 2a70a20db47b026957e3bfa15087b931db67ef24 (diff) | |
download | freebsd-ports-graphics-ea383f0dafd15223cc4f729da52772211f1ffb8f.tar.gz freebsd-ports-graphics-ea383f0dafd15223cc4f729da52772211f1ffb8f.tar.zst freebsd-ports-graphics-ea383f0dafd15223cc4f729da52772211f1ffb8f.zip |
x11-fonts/roboto-fonts-ttf: Update to 2.134
- Update roboto-fonts-ttf to 2.134
- Fix fontconfing incompatibilities
- Pass maintainership to submitter
PR: 213514
Submitted by: Vladimir Kondratyev <wulf@cicgroup.ru>
Approved by: koobs (mentor)
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/roboto-fonts-ttf/Makefile | 11 | ||||
-rw-r--r-- | x11-fonts/roboto-fonts-ttf/distinfo | 5 | ||||
-rw-r--r-- | x11-fonts/roboto-fonts-ttf/files/64-google-roboto-condensed.conf | 25 | ||||
-rw-r--r-- | x11-fonts/roboto-fonts-ttf/files/64-google-roboto.conf | 49 | ||||
-rw-r--r-- | x11-fonts/roboto-fonts-ttf/pkg-plist | 4 |
5 files changed, 90 insertions, 4 deletions
diff --git a/x11-fonts/roboto-fonts-ttf/Makefile b/x11-fonts/roboto-fonts-ttf/Makefile index 4f4d3541522..61b26f7357b 100644 --- a/x11-fonts/roboto-fonts-ttf/Makefile +++ b/x11-fonts/roboto-fonts-ttf/Makefile @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= roboto-fonts-ttf -PORTVERSION= 2.131 +PORTVERSION= 2.134 DISTVERSIONPREFIX=v PORTEPOCH= 1 CATEGORIES= x11-fonts -MAINTAINER= winston@ml1.net +MAINTAINER= wulf@cicgroup.ru COMMENT= Roboto typeface family LICENSE= APACHE20 @@ -23,8 +23,15 @@ GH_PROJECT= roboto SUB_FILES= pkg-message +PLIST_SUB= FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS} +FCDIR?= etc/fonts/conf.avail +FCDIR_LINKS= ${FCDIR:S|conf.avail|conf.d|} + do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${FCDIR}/ ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ + ${INSTALL_DATA} ${FILESDIR}/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/ + cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*.conf . .include <bsd.port.mk> diff --git a/x11-fonts/roboto-fonts-ttf/distinfo b/x11-fonts/roboto-fonts-ttf/distinfo index 70c0eeca7d5..9f5c4e48da6 100644 --- a/x11-fonts/roboto-fonts-ttf/distinfo +++ b/x11-fonts/roboto-fonts-ttf/distinfo @@ -1,2 +1,3 @@ -SHA256 (google-roboto-v2.131_GH0.tar.gz) = 34b32fdc37d935ec3e723b9d5895c0a2e1d1070e8f8d8821eac1c8a7c84aff7b -SIZE (google-roboto-v2.131_GH0.tar.gz) = 6264167 +TIMESTAMP = 1476726519 +SHA256 (google-roboto-v2.134_GH0.tar.gz) = 01f998e9e904d3c57ad363b6337f078fdac647fa5971b6159ad0d100a4e1edb1 +SIZE (google-roboto-v2.134_GH0.tar.gz) = 6288240 diff --git a/x11-fonts/roboto-fonts-ttf/files/64-google-roboto-condensed.conf b/x11-fonts/roboto-fonts-ttf/files/64-google-roboto-condensed.conf new file mode 100644 index 00000000000..375db0eff51 --- /dev/null +++ b/x11-fonts/roboto-fonts-ttf/files/64-google-roboto-condensed.conf @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <alias> + <family>sans-serif</family> + <prefer> + <family>Roboto Condensed</family> + </prefer> + </alias> + <alias> + <family>Roboto Condensed</family> + <default> + <family>sans-serif</family> + </default> + </alias> + <match target="scan"> + <test name="family"> + <string>Roboto Condensed</string> + </test> + <edit name="width"> + <const>condensed</const> + </edit> + </match> +</fontconfig> + diff --git a/x11-fonts/roboto-fonts-ttf/files/64-google-roboto.conf b/x11-fonts/roboto-fonts-ttf/files/64-google-roboto.conf new file mode 100644 index 00000000000..18c73b32152 --- /dev/null +++ b/x11-fonts/roboto-fonts-ttf/files/64-google-roboto.conf @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <alias> + <family>sans-serif</family> + <prefer> + <family>Roboto</family> + </prefer> + </alias> + <alias> + <family>Roboto</family> + <default> + <family>sans-serif</family> + </default> + </alias> + <match target="scan"> + <test name="style"> + <string>Thin</string> + </test> + <edit name="weight"> + <const>thin</const> + </edit> + </match> + <match target="scan"> + <test name="style"> + <string>Thin Italic</string> + </test> + <edit name="weight"> + <const>thin</const> + </edit> + </match> + <match target="scan"> + <test name="style"> + <string>Black</string> + </test> + <edit name="weight"> + <const>black</const> + </edit> + </match> + <match target="scan"> + <test name="style"> + <string>Black Italic</string> + </test> + <edit name="weight"> + <const>black</const> + </edit> + </match> +</fontconfig> + diff --git a/x11-fonts/roboto-fonts-ttf/pkg-plist b/x11-fonts/roboto-fonts-ttf/pkg-plist index 6733cdde075..83e88b5c143 100644 --- a/x11-fonts/roboto-fonts-ttf/pkg-plist +++ b/x11-fonts/roboto-fonts-ttf/pkg-plist @@ -1,3 +1,7 @@ +%%FCDIR%%/64-google-roboto-condensed.conf +%%FCDIR%%/64-google-roboto.conf +%%FCDIR_LINKS%%/64-google-roboto-condensed.conf +%%FCDIR_LINKS%%/64-google-roboto.conf %%FONTSDIR%%/Roboto-Black.ttf %%FONTSDIR%%/Roboto-BlackItalic.ttf %%FONTSDIR%%/Roboto-Bold.ttf |