diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2011-03-04 09:24:17 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2011-03-04 09:24:17 +0000 |
commit | 9cf639cacf4c3ced042bf081ec4081401aa67739 (patch) | |
tree | cf5d1bf4ab60bd87946570238e3a19e1691bc78f /x11-fonts/charis | |
parent | 7e1433a0e742a1b4f1e7a629c52ea8aead2a8f36 (diff) |
Add CharisSIL 4.106, the Charis SIL TrueType font collection.
Approved by: makc, miwi (mentors, implicit)
Notes
Notes:
svn path=/head/; revision=270268
Diffstat (limited to 'x11-fonts/charis')
-rw-r--r-- | x11-fonts/charis/Makefile | 58 | ||||
-rw-r--r-- | x11-fonts/charis/distinfo | 2 | ||||
-rw-r--r-- | x11-fonts/charis/files/pkg-message.in | 11 | ||||
-rw-r--r-- | x11-fonts/charis/pkg-descr | 16 |
4 files changed, 87 insertions, 0 deletions
diff --git a/x11-fonts/charis/Makefile b/x11-fonts/charis/Makefile new file mode 100644 index 000000000000..5fdb431acdbf --- /dev/null +++ b/x11-fonts/charis/Makefile @@ -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> diff --git a/x11-fonts/charis/distinfo b/x11-fonts/charis/distinfo new file mode 100644 index 000000000000..402c494a6733 --- /dev/null +++ b/x11-fonts/charis/distinfo @@ -0,0 +1,2 @@ +SHA256 (xorg/font/CharisSIL4.106.zip) = 8902f6091fac3d96a50a1d7250f73ddeba4a1f93055632c87338e500e87055d8 +SIZE (xorg/font/CharisSIL4.106.zip) = 2134757 diff --git a/x11-fonts/charis/files/pkg-message.in b/x11-fonts/charis/files/pkg-message.in new file mode 100644 index 000000000000..ddfde34f6a7b --- /dev/null +++ b/x11-fonts/charis/files/pkg-message.in @@ -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" diff --git a/x11-fonts/charis/pkg-descr b/x11-fonts/charis/pkg-descr new file mode 100644 index 000000000000..b91e9dda5344 --- /dev/null +++ b/x11-fonts/charis/pkg-descr @@ -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 |