aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/font-awesome/Makefile
blob: e911648bf45d7757f9348b7cf6b33667436f95ba (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
# $FreeBSD$

PORTNAME=   font-awesome
DISTVERSION=    5.0.2
CATEGORIES= x11-fonts
MASTER_SITES=   https://use.fontawesome.com/releases/v${DISTVERSION}/
DISTNAME=   fontawesome-free-${DISTVERSION}

MAINTAINER= dg@syrec.org
COMMENT=    Suite of pictographic icons from Font Awesome (free version)

LICENSE=    OFL11

USES=       fonts zip
NO_ARCH=    yes
NO_BUILD=   yes

SUB_FILES=  pkg-message

PLIST_FILES=    ${FONTSDIR}/Font\ Awesome\ 5\ Brands-Regular-400.otf \
        ${FONTSDIR}/Font\ Awesome\ 5\ Free-Regular-400.otf \
        ${FONTSDIR}/Font\ Awesome\ 5\ Free-Solid-900.otf \
        ${FONTSDIR}/fa-brands-400.ttf \
        ${FONTSDIR}/fa-regular-400.ttf \
        ${FONTSDIR}/fa-solid-900.ttf

do-install:
    @${MKDIR} ${STAGEDIR}${FONTSDIR}
    ${INSTALL_DATA} ${WRKSRC}/use-on-desktop/*.otf ${STAGEDIR}${FONTSDIR}
    ${INSTALL_DATA} ${WRKSRC}/web-fonts-with-css/webfonts/*.ttf ${STAGEDIR}${FONTSDIR}

.include <bsd.port.mk>