View | Details | Raw Unified | Return to bug 213514 | Differences between
and this patch

Collapse All | Expand All

(-)x11-fonts/roboto-fonts-ttf/Makefile (-2 / +9 lines)
Lines 2-13 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	roboto-fonts-ttf
4
PORTNAME=	roboto-fonts-ttf
5
PORTVERSION=	2.131
5
PORTVERSION=	2.134
6
DISTVERSIONPREFIX=v
6
DISTVERSIONPREFIX=v
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES=	x11-fonts
8
CATEGORIES=	x11-fonts
9
9
10
MAINTAINER=	winston@ml1.net
10
MAINTAINER=	wulf@cicgroup.ru
11
COMMENT=	Roboto typeface family
11
COMMENT=	Roboto typeface family
12
12
13
LICENSE=	APACHE20
13
LICENSE=	APACHE20
Lines 23-30 Link Here
23
23
24
SUB_FILES=	pkg-message
24
SUB_FILES=	pkg-message
25
25
26
PLIST_SUB=	FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS}
27
FCDIR?=		etc/fonts/conf.avail
28
FCDIR_LINKS=	${FCDIR:S|conf.avail|conf.d|}
29
26
do-install:
30
do-install:
27
	${MKDIR} ${STAGEDIR}${FONTSDIR}
31
	${MKDIR} ${STAGEDIR}${FONTSDIR}
28
	${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR}
32
	${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR}
33
	${MKDIR} ${STAGEDIR}${PREFIX}/${FCDIR}/ ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/
34
	${INSTALL_DATA} ${FILESDIR}/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/
35
	cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*.conf .
29
36
30
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)x11-fonts/roboto-fonts-ttf/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (google-roboto-v2.131_GH0.tar.gz) = 34b32fdc37d935ec3e723b9d5895c0a2e1d1070e8f8d8821eac1c8a7c84aff7b
1
TIMESTAMP = 1476726519
2
SIZE (google-roboto-v2.131_GH0.tar.gz) = 6264167
2
SHA256 (google-roboto-v2.134_GH0.tar.gz) = 01f998e9e904d3c57ad363b6337f078fdac647fa5971b6159ad0d100a4e1edb1
3
SIZE (google-roboto-v2.134_GH0.tar.gz) = 6288240
(-)x11-fonts/roboto-fonts-ttf/files/64-google-roboto-condensed.conf (+25 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
3
<fontconfig>
4
        <alias>
5
          <family>sans-serif</family>
6
            <prefer>
7
              <family>Roboto Condensed</family>
8
            </prefer>
9
        </alias>
10
        <alias>
11
          <family>Roboto Condensed</family>
12
            <default>
13
              <family>sans-serif</family>
14
            </default>
15
        </alias>
16
	<match target="scan">
17
		<test name="family">
18
			<string>Roboto Condensed</string>
19
		</test>
20
		<edit name="width">
21
			<const>condensed</const>
22
		</edit>
23
	</match>
24
</fontconfig>
25
(-)x11-fonts/roboto-fonts-ttf/files/64-google-roboto.conf (+49 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
3
<fontconfig>
4
        <alias>
5
          <family>sans-serif</family>
6
            <prefer>
7
              <family>Roboto</family>
8
            </prefer>
9
        </alias>
10
        <alias>
11
          <family>Roboto</family>
12
            <default>
13
              <family>sans-serif</family>
14
            </default>
15
        </alias>
16
	<match target="scan">
17
		<test name="style">
18
			<string>Thin</string>
19
		</test>
20
		<edit name="weight">
21
			<const>thin</const>
22
		</edit>
23
	</match>
24
	<match target="scan">
25
		<test name="style">
26
			<string>Thin Italic</string>
27
		</test>
28
		<edit name="weight">
29
			<const>thin</const>
30
		</edit>
31
	</match>
32
	<match target="scan">
33
		<test name="style">
34
			<string>Black</string>
35
		</test>
36
		<edit name="weight">
37
			<const>black</const>
38
		</edit>
39
	</match>
40
	<match target="scan">
41
		<test name="style">
42
			<string>Black Italic</string>
43
		</test>
44
		<edit name="weight">
45
			<const>black</const>
46
		</edit>
47
	</match>
48
</fontconfig>
49
(-)x11-fonts/roboto-fonts-ttf/pkg-plist (+4 lines)
Lines 1-3 Link Here
1
%%FCDIR%%/64-google-roboto-condensed.conf
2
%%FCDIR%%/64-google-roboto.conf
3
%%FCDIR_LINKS%%/64-google-roboto-condensed.conf
4
%%FCDIR_LINKS%%/64-google-roboto.conf
1
%%FONTSDIR%%/Roboto-Black.ttf
5
%%FONTSDIR%%/Roboto-Black.ttf
2
%%FONTSDIR%%/Roboto-BlackItalic.ttf
6
%%FONTSDIR%%/Roboto-BlackItalic.ttf
3
%%FONTSDIR%%/Roboto-Bold.ttf
7
%%FONTSDIR%%/Roboto-Bold.ttf

Return to bug 213514