blob: 61b26f7357bfd87e7a0e7f8ff0e3a490c98ef813 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Winston Weinert <winstonw@lavabit.com>
# $FreeBSD$
PORTNAME= roboto-fonts-ttf
PORTVERSION= 2.134
DISTVERSIONPREFIX=v
PORTEPOCH= 1
CATEGORIES= x11-fonts
MAINTAINER= wulf@cicgroup.ru
COMMENT= Roboto typeface family
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
NO_BUILD= yes
USES= fonts
USE_GITHUB= yes
GH_ACCOUNT= google
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>
|