blob: 60119c720eed798417e1692003975c826232e6d8 (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# $FreeBSD$
PORTNAME= powerline-fonts
PORTVERSION= 0.0.0.2017.07.26
PORTREVISION= 1
CATEGORIES= x11-fonts
MAINTAINER= swills@FreeBSD.org
COMMENT= Fixed width sans fonts for use with powerline
USE_GITHUB= yes
GH_ACCOUNT= powerline
GH_PROJECT= fonts
GH_TAGNAME= fe396ef
USES= fonts
NO_ARCH= yes
NO_BUILD= yes
TTF_FONTS= 3270 AnonymousPro Arimo Cousine D2Coding DejaVuSansMono \
DroidSansMonoDotted DroidSansMonoSlashed GoMono Hack \
Inconsolata LiberationMono Meslo\ Dotted Meslo\ Slashed Monofur \
NotoMono NovaMono ProFont RobotoMono SpaceMono SymbolNeu Tinos \
UbuntuMono
OTF_FONTS= DroidSansMono FiraMono Inconsolata Inconsolata-g InconsolataDz \
SourceCodePro
PCF_FONTS= Terminus
DOCDIRS= 3270 AnonymousPro Arimo Cousine D2Coding DejaVuSansMono \
DroidSansMono DroidSansMonoDotted DroidSansMonoSlashed FiraMono \
GoMono Hack Inconsolata Inconsolata-g InconsolataDz InputMono \
LiberationMono Meslo\ Dotted Meslo\ Slashed NotoMono NovaMono \
ProFont RobotoMono SourceCodePro SpaceMono SymbolNeu Terminus \
Tinos UbuntuMono
LICDIRS= AnonymousPro Arimo Cousine D2Coding DejaVuSansMono \
DroidSansMono DroidSansMonoDotted DroidSansMonoSlashed FiraMono \
Hack Inconsolata Inconsolata-g InconsolataDz LiberationMono \
Meslo\ Dotted Meslo\ Slashed Monofur NovaMono RobotoMono \
SourceCodePro SpaceMono SymbolNeu Terminus Tinos
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for dir in ${DOCDIRS}
${CP} ${WRKSRC}/${dir}/README.rst ${STAGEDIR}${DOCSDIR}/README_${dir}.rst
.endfor
.for dir in ${LICDIRS}
${CP} ${WRKSRC}/${dir}/LICENSE.txt ${STAGEDIR}${DOCSDIR}/LICENSE_${dir}.txt
.endfor
${CP} ${WRKSRC}/NotoMono/LICENSE_OFL.txt ${STAGEDIR}${DOCSDIR}/LICENSE_NotoMono_OFL.txt
${CP} ${WRKSRC}/ProFont/LICENSE ${STAGEDIR}${DOCSDIR}/LICENSE_ProFont.txt
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
.for font in ${OTF_FONTS}
${INSTALL_DATA} ${WRKSRC}/${font}/*.otf ${STAGEDIR}${FONTSDIR}
.endfor
.for font in ${TTF_FONTS}
${INSTALL_DATA} ${WRKSRC}/${font}/*.ttf ${STAGEDIR}${FONTSDIR}
.endfor
.for font in ${PCF_FONTS}
${INSTALL_DATA} ${WRKSRC}/${font}/PCF/*.pcf.gz ${STAGEDIR}${FONTSDIR}
.endfor
.include <bsd.port.mk>
|