aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/charis/Makefile
blob: dc62f08f571ecbeb8b16b24bf1b47a301d1e4b5f (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: bf <bf@FreeBSD.org>
# $FreeBSD$

PORTNAME=   CharisSIL
PORTVERSION=    4.114
PORTREVISION=   1
CATEGORIES= x11-fonts
MASTER_SITES=   http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=${MEDIA_ID}&filename=/ \
        LOCAL/bf

MAINTAINER= bf@FreeBSD.org
COMMENT=    Charis SIL TrueType font collection

LICENSE=    OFL11

USES=       fonts zip

MEDIA_ID=   ${DISTNAME}${EXTRACT_SUFX}
NO_BUILD=   yes

.for type in B BI I R
PLIST_FILES+=   ${FONTSDIR}/${PORTNAME}-${type}.ttf
.endfor

OPTIONS_DEFINE= DOCS

PORTDOCS=   FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt

SUB_FILES=  pkg-message

do-install:
    ${MKDIR} ${STAGEDIR}${FONTSDIR}
    (cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR})
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>