aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/doulos-compact/Makefile54
-rw-r--r--x11-fonts/doulos-compact/distinfo2
-rw-r--r--x11-fonts/doulos-compact/files/pkg-message.in11
-rw-r--r--x11-fonts/doulos-compact/pkg-descr16
5 files changed, 84 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 4ce94a890855..3449925b8271 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -21,6 +21,7 @@
SUBDIR += cyr-rfx
SUBDIR += dejavu
SUBDIR += doulos
+ SUBDIR += doulos-compact
SUBDIR += droid-fonts-ttf
SUBDIR += ecofont
SUBDIR += encodings
diff --git a/x11-fonts/doulos-compact/Makefile b/x11-fonts/doulos-compact/Makefile
new file mode 100644
index 000000000000..21e886069f08
--- /dev/null
+++ b/x11-fonts/doulos-compact/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: DoulosSIL
+# Date created: October 14 2011
+# Whom: bf <bf@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DoulosSILCompact
+PORTVERSION= 4.110
+CATEGORIES= x11-fonts
+MASTER_SITES= http://scripts.sil.org/ttw/fonts2go.cgi?family=DoulosSIL&pkg=Compact&ver=${PORTVERSION}&filename=/ \
+ LOCAL/bf
+MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
+
+MAINTAINER= bf@FreeBSD.org
+COMMENT= Doulos 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
+
+PLIST_FILES= ${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}/${PORTNAME}-R.ttf
+
+.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/doulos-compact/distinfo b/x11-fonts/doulos-compact/distinfo
new file mode 100644
index 000000000000..15b3e633d8b4
--- /dev/null
+++ b/x11-fonts/doulos-compact/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/font/DoulosSILCompact-4.110.zip) = 9a9ccec7a722ba86d7b45aa335fa4fdab23e46392876358b6ac99dc6233a8b92
+SIZE (xorg/font/DoulosSILCompact-4.110.zip) = 1491644
diff --git a/x11-fonts/doulos-compact/files/pkg-message.in b/x11-fonts/doulos-compact/files/pkg-message.in
new file mode 100644
index 000000000000..b648d77200d4
--- /dev/null
+++ b/x11-fonts/doulos-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/doulos-compact/pkg-descr b/x11-fonts/doulos-compact/pkg-descr
new file mode 100644
index 000000000000..d6a5c45b04a4
--- /dev/null
+++ b/x11-fonts/doulos-compact/pkg-descr
@@ -0,0 +1,16 @@
+Doulos 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.
+
+Doulos is very similar to Times/Times New Roman, but only has a single face-
+regular. It is intended for use alongside other Times-like fonts where a range
+of styles (italic, bold) are not needed.
+
+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=DoulosSILfont