aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2011-03-04 17:21:53 +0800
committerbf <bf@FreeBSD.org>2011-03-04 17:21:53 +0800
commit8618b727260ac4a2a97535b98dd435a1ce471f20 (patch)
tree46174f29eee61402a31d1bd1307600a52ad5aa75 /x11-fonts
parentb6c0531ff061f928f679744fedf53a34cb0e5e2b (diff)
downloadfreebsd-ports-gnome-8618b727260ac4a2a97535b98dd435a1ce471f20.tar.gz
freebsd-ports-gnome-8618b727260ac4a2a97535b98dd435a1ce471f20.tar.zst
freebsd-ports-gnome-8618b727260ac4a2a97535b98dd435a1ce471f20.zip
Add DoulosSIL 4.106, the Doulos SIL TrueType font collection.
Approved by: makc, miwi (mentors, implicit)
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/doulos/Makefile56
-rw-r--r--x11-fonts/doulos/distinfo2
-rw-r--r--x11-fonts/doulos/files/pkg-message.in11
-rw-r--r--x11-fonts/doulos/pkg-descr13
5 files changed, 83 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 511bc797e5b0..d5baacfdc6b9 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -20,6 +20,7 @@
SUBDIR += cyberbit-ttfonts
SUBDIR += cyr-rfx
SUBDIR += dejavu
+ SUBDIR += doulos
SUBDIR += droid-fonts-ttf
SUBDIR += ecofont
SUBDIR += encodings
diff --git a/x11-fonts/doulos/Makefile b/x11-fonts/doulos/Makefile
new file mode 100644
index 000000000000..dc4eda83eea5
--- /dev/null
+++ b/x11-fonts/doulos/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: DoulosSIL
+# Date created: March 3 2011
+# Whom: bf <bf@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DoulosSIL
+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= Doulos 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
+
+PLIST_FILES= ${FONTROOTDIR:S/${PREFIX}\///}/${PORTNAME}R.ttf
+
+.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/doulos/distinfo b/x11-fonts/doulos/distinfo
new file mode 100644
index 000000000000..41d2a5651000
--- /dev/null
+++ b/x11-fonts/doulos/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/font/DoulosSIL4.106.zip) = 721a8f2e960aa3b826901854c99fdf7f10407d21d12b33630ecd58fde51697a9
+SIZE (xorg/font/DoulosSIL4.106.zip) = 576928
diff --git a/x11-fonts/doulos/files/pkg-message.in b/x11-fonts/doulos/files/pkg-message.in
new file mode 100644
index 000000000000..ddfde34f6a7b
--- /dev/null
+++ b/x11-fonts/doulos/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/doulos/pkg-descr b/x11-fonts/doulos/pkg-descr
new file mode 100644
index 000000000000..6343fa5907dd
--- /dev/null
+++ b/x11-fonts/doulos/pkg-descr
@@ -0,0 +1,13 @@
+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.
+
+WWW: http://scripts.sil.org/cms/scripts/page.php?item_id=DoulosSILfont