aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/charis-compact
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/charis-compact')
-rw-r--r--x11-fonts/charis-compact/Makefile56
-rw-r--r--x11-fonts/charis-compact/distinfo2
-rw-r--r--x11-fonts/charis-compact/files/pkg-message.in11
-rw-r--r--x11-fonts/charis-compact/pkg-descr19
4 files changed, 88 insertions, 0 deletions
diff --git a/x11-fonts/charis-compact/Makefile b/x11-fonts/charis-compact/Makefile
new file mode 100644
index 000000000000..1b4c889865b1
--- /dev/null
+++ b/x11-fonts/charis-compact/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: CharisSILCompact
+# Date created: October 14 2011
+# Whom: bf <bf@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CharisSILCompact
+PORTVERSION= 4.110
+CATEGORIES= x11-fonts
+MASTER_SITES= http://scripts.sil.org/ttw/fonts2go.cgi?family=CharisSIL&pkg=Compact&ver=${PORTVERSION}&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, compact variant
+
+LICENSE= OFL
+LICENSE_NAME= SIL Open Font License (OFL)
+LICENSE_FILE= ${WRKSRC}/OFL.txt
+LICENSE_PERMS= auto-accept
+
+USE_ZIP= yes
+XORG_CAT= font
+
+FONTROOTDIR= ${PREFIX}/lib/X11/fonts
+INSTALLS_TTF= yes
+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
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt feat_set_tuned.xml
+.endif
+
+SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}"
+SUB_FILES= pkg-message
+
+do-configure:
+ @${DO_NADA}
+
+do-install:
+ @${MKDIR} ${FONTROOTDIR}/${FONTDIR}
+ @(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${FONTROOTDIR}/${FONTDIR})
+.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-compact/distinfo b/x11-fonts/charis-compact/distinfo
new file mode 100644
index 000000000000..874b1262e7cf
--- /dev/null
+++ b/x11-fonts/charis-compact/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/font/CharisSILCompact-4.110.zip) = 7360bfda93d58ae6673bc48499360219e49d102f9ad648c65f5428c2e1bc6960
+SIZE (xorg/font/CharisSILCompact-4.110.zip) = 3384203
diff --git a/x11-fonts/charis-compact/files/pkg-message.in b/x11-fonts/charis-compact/files/pkg-message.in
new file mode 100644
index 000000000000..b648d77200d4
--- /dev/null
+++ b/x11-fonts/charis-compact/files/pkg-message.in
@@ -0,0 +1,11 @@
+To use these fonts, add the following line to the "Files" section of
+xorg.conf:
+
+ FontPath "%%DIR%%/"
+
+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-compact/pkg-descr b/x11-fonts/charis-compact/pkg-descr
new file mode 100644
index 000000000000..040d6a76c606
--- /dev/null
+++ b/x11-fonts/charis-compact/pkg-descr
@@ -0,0 +1,19 @@
+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.
+
+This compact variant has been created with TypeTuner Web, by setting the "Line
+spacing" feature to "Tight", and will not be able to be TypeTuned again.
+
+WWW: http://scripts.sil.org/cms/scripts/page.php?item_id=CharisSILfont