blob: 03b318cedbb92e8eca3cdd34911428d0948cc99d (
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
40
41
42
43
44
45
46
47
|
# Created by: bf <bf@FreeBSD.org>
# $FreeBSD$
PORTNAME= CharisSIL
PORTVERSION= 4.114
CATEGORIES= x11-fonts
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=${MEDIA_ID}&filename=/ \
LOCAL/bf
MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
MAINTAINER= bf@FreeBSD.org
COMMENT= Charis SIL TrueType font collection
LICENSE= OFL11
USE_ZIP= yes
XORG_CAT= font
FONTROOTDIR= ${PREFIX}/lib/X11/fonts
INSTALLS_TTF= yes
MEDIA_ID= ${DISTNAME}${EXTRACT_SUFX}
NO_BUILD= yes
USE_TGZ= yes #prevent bsd.xorg.mk from setting USE_BZIP
.for type in B BI I R
PLIST_FILES+= ${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}/${PORTNAME}-${type}.ttf
.endfor
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
PORTDOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt
SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}"
SUB_FILES= pkg-message
do-configure:
@${DO_NADA}
do-install:
${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR})
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|