Lines 1-34
Link Here
|
1 |
PORTNAME= roboto-fonts-ttf |
1 |
PORTNAME= roboto-fonts-ttf |
2 |
PORTVERSION= 2.134 |
|
|
3 |
PORTREVISION= 1 |
4 |
DISTVERSIONPREFIX=v |
2 |
DISTVERSIONPREFIX=v |
|
|
3 |
DISTVERSION= 2.138 |
5 |
PORTEPOCH= 1 |
4 |
PORTEPOCH= 1 |
6 |
CATEGORIES= x11-fonts |
5 |
CATEGORIES= x11-fonts |
7 |
|
6 |
|
8 |
MAINTAINER= wulf@cicgroup.ru |
7 |
MAINTAINER= wulf@cicgroup.ru |
9 |
COMMENT= Roboto typeface family |
8 |
COMMENT= The Roboto family of fonts |
10 |
WWW= https://developer.android.com/design/style/typography.html |
9 |
WWW= https://fonts.google.com/specimen/Roboto/ |
|
|
10 |
https://github.com/googlefonts/roboto-2/ |
11 |
|
11 |
|
12 |
LICENSE= APACHE20 |
12 |
LICENSE= APACHE20 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
14 |
|
15 |
NO_ARCH= yes |
|
|
16 |
NO_BUILD= yes |
17 |
USES= fonts |
15 |
USES= fonts |
18 |
|
|
|
19 |
USE_GITHUB= yes |
16 |
USE_GITHUB= yes |
20 |
GH_ACCOUNT= google |
17 |
GH_ACCOUNT= googlefonts |
21 |
GH_PROJECT= roboto |
18 |
GH_PROJECT= roboto-2 |
22 |
|
19 |
|
|
|
20 |
NO_ARCH= yes |
21 |
NO_BUILD= yes |
23 |
SUB_FILES= pkg-message |
22 |
SUB_FILES= pkg-message |
24 |
|
23 |
|
25 |
PLIST_SUB= FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS} |
24 |
PLIST_SUB= FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS} |
|
|
25 |
|
26 |
FCDIR?= etc/fonts/conf.avail |
26 |
FCDIR?= etc/fonts/conf.avail |
27 |
FCDIR_LINKS= ${FCDIR:S|conf.avail|conf.d|} |
27 |
FCDIR_LINKS= ${FCDIR:S|conf.avail|conf.d|} |
28 |
|
28 |
|
29 |
do-install: |
29 |
do-install: |
30 |
${MKDIR} ${STAGEDIR}${FONTSDIR} |
30 |
${MKDIR} ${STAGEDIR}${FONTSDIR} |
31 |
${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR} |
31 |
${INSTALL_DATA} ${WRKSRC}/src/hinted/*.ttf ${STAGEDIR}${FONTSDIR} |
32 |
${MKDIR} ${STAGEDIR}${PREFIX}/${FCDIR}/ ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ |
32 |
${MKDIR} ${STAGEDIR}${PREFIX}/${FCDIR}/ ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ |
33 |
${INSTALL_DATA} ${FILESDIR}/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/ |
33 |
${INSTALL_DATA} ${FILESDIR}/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/ |
34 |
cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*.conf . |
34 |
cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*.conf . |