aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/doulos-compact/Makefile
blob: ad556a3d2ef4b815f6afc8e987e66396072cf4a9 (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
# Created by: bf <bf@FreeBSD.org>
# $FreeBSD$

PORTNAME=   DoulosSILCompact
PORTVERSION=    4.110
PORTREVISION=   2
CATEGORIES= x11-fonts
#unfortunately, the SIL server embeds timestamps in the distfile, so we use a static local copy
.if defined(MAINTAINER_MODE)
MASTER_SITES=   http://scripts.sil.org/ttw/fonts2go.cgi?family=DoulosSIL&pkg=Compact&ver=${PORTVERSION}&filename=/
.else
MASTER_SITES=   LOCAL/bf
.endif

MAINTAINER= bf@FreeBSD.org
COMMENT=    Doulos SIL TrueType font collection, compact variant

LICENSE=    OFL11

USES=       fonts zip

NO_BUILD=   yes

PLIST_FILES=    ${FONTSDIR}/${PORTNAME}-R.ttf

OPTIONS_DEFINE= DOCS

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

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>