aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/doulos
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2011-03-04 09:21:53 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2011-03-04 09:21:53 +0000
commit7e1433a0e742a1b4f1e7a629c52ea8aead2a8f36 (patch)
tree1d19375b96932df911a5c77a7664df6a73762dd1 /x11-fonts/doulos
parent4545774b4c026d0c4a9597448d800606613c8ce8 (diff)
downloadports-7e1433a0e742a1b4f1e7a629c52ea8aead2a8f36.tar.gz
ports-7e1433a0e742a1b4f1e7a629c52ea8aead2a8f36.zip
Add DoulosSIL 4.106, the Doulos SIL TrueType font collection.
Approved by: makc, miwi (mentors, implicit)
Notes
Notes: svn path=/head/; revision=270267
Diffstat (limited to 'x11-fonts/doulos')
-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
4 files changed, 82 insertions, 0 deletions
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