1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add CharisSIL 4.106, the Charis SIL TrueType font collection.

Approved by:	makc, miwi (mentors, implicit)
This commit is contained in:
Brendan Fabeny 2011-03-04 09:24:17 +00:00
parent 7e1433a0e7
commit 9cf639cacf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270268
5 changed files with 88 additions and 0 deletions

View File

@ -15,6 +15,7 @@
SUBDIR += bitmap-fonts
SUBDIR += bitstream-vera
SUBDIR += c64bdf
SUBDIR += charis
SUBDIR += code2000
SUBDIR += code2001
SUBDIR += cyberbit-ttfonts

58
x11-fonts/charis/Makefile Normal file
View File

@ -0,0 +1,58 @@
# New ports collection makefile for: CharisSIL
# Date created: March 3 2011
# Whom: bf <bf@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= CharisSIL
PORTVERSION= 4.106
CATEGORIES= x11-fonts
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=${MEDIA_ID}&filename=/
MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= bf@FreeBSD.org
COMMENT= Charis SIL TrueType font collection
USE_ZIP= yes
XORG_CAT= font
FONTROOTDIR= ${PREFIX}/lib/X11/fonts/${FONTDIR}
INSTALLS_TTF= yes
MEDIA_ID= ${DISTNAME}b${EXTRACT_SUFX}
NO_BUILD= yes
USE_TGZ= yes #prevent bsd.xorg.mk from setting USE_BZIP
WRKSRC= ${WRKDIR}/${PORTNAME}
LICENSE= OFL
LICENSE_FILE= ${WRKSRC}/OFL.txt
LICENSE_NAME= SIL Open Font License (OFL)
LICENSE_PERMS= auto-accept
.for type in B BI I R
PLIST_FILES+= ${FONTROOTDIR:S/${PREFIX}\///}/${PORTNAME}${type}.ttf
.endfor
.if !defined(NOPORTDOCS)
PORTDOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt
.endif
SUB_LIST= FONTROOTDIR="${FONTROOTDIR}"
SUB_FILES= pkg-message
do-configure:
@${DO_NADA}
do-install:
@${MKDIR} ${FONTROOTDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${FONTROOTDIR})
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (xorg/font/CharisSIL4.106.zip) = 8902f6091fac3d96a50a1d7250f73ddeba4a1f93055632c87338e500e87055d8
SIZE (xorg/font/CharisSIL4.106.zip) = 2134757

View File

@ -0,0 +1,11 @@
To use these fonts, add the following line to the "Files" section of
xorg.conf:
FontPath "%%FONTROOTDIR%%/"
Users of older versions of X may additionally have to make sure that
the freetype module is loaded. Check /var/log/Xorg.0.log for error
messages. If freetype is required, add the following line to the
"Modules" section of xorg.conf:
Load "freetype"

View File

@ -0,0 +1,16 @@
Charis SIL is a Unicode-based font family that attempts to provide a
comprehensive inventory of glyphs needed for almost any Roman- or
Cyrillic-based writing system, whether used for phonetic or orthographic
needs. In addition, there is provision for other characters and symbols useful
to linguists. This font makes use of state-of-the-art font technologies to
support complex typographic issues, such as the need to position arbitrary
combinations of base glyphs and diacritics optimally.
Charis is similar to Bitstream Charter, one of the first fonts designed
specifically for laser printers. It is highly readable and holds up well in
less-than-ideal reproduction environments. It also has a full set of styles
- regular, italic, bold, bold italic - and so is more useful in general
publishing than Doulos SIL. Charis is a serif, proportionally-spaced font
optimized for readability in long printed documents.
WWW: http://scripts.sil.org/cms/scripts/page.php?item_id=CharisSILfont