aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/fira/Makefile
blob: d56cd5bef0e3d92fdd43ac0665f1aaf81492aae2 (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
38
39
# Created by: Horia Racoviceanu <horia@racoviceanu.com>
# $FreeBSD$

PORTNAME=   fira
PORTVERSION=    4.301
CATEGORIES= x11-fonts

MAINTAINER= trueos@norwegianrockcat.com
COMMENT=    Sans-serif, monospaced, and code typeface for small screens

LICENSE=    OFL11

USES=       fonts
USE_XORG=   x11
USE_GITHUB= yes
GH_ACCOUNT= bBoxType
GH_PROJECT= FiraSans
GH_TAGNAME= f54eeb3
NO_ARCH=    yes
NO_BUILD=   yes

SUB_FILES=  pkg-message

PORTDOCS=   *.pdf *.rtf

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${STAGEDIR}${FONTSDIR}
    ${FIND} ${WRKSRC}/Fira* -type f -name \*.otf | while read f; do \
        ${INSTALL_DATA} $$f ${STAGEDIR}${FONTSDIR} ; done

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Fira*/PDF/*.pdf ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Fira_Sans_4_3/Fira_4_3_Change_Log.rtf \
        ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>