aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/paratype
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2011-05-26 16:47:27 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2011-05-26 16:47:27 +0000
commit82c18df9e2595ef9ff8732111ce555b2a09d69f7 (patch)
treefeb318f3c693236e40c0c6c90b349e3ac619130d /x11-fonts/paratype
parentebe3f6ff13a3e6748094063b5ffaf3336eb8ca16 (diff)
downloadports-82c18df9e2595ef9ff8732111ce555b2a09d69f7.tar.gz
ports-82c18df9e2595ef9ff8732111ce555b2a09d69f7.zip
Add paratype 2.004, ParaType font collection for the languages of
Russia.
Notes
Notes: svn path=/head/; revision=274694
Diffstat (limited to 'x11-fonts/paratype')
-rw-r--r--x11-fonts/paratype/Makefile46
-rw-r--r--x11-fonts/paratype/distinfo4
-rw-r--r--x11-fonts/paratype/files/pkg-message.in11
-rw-r--r--x11-fonts/paratype/pkg-descr22
-rw-r--r--x11-fonts/paratype/pkg-plist14
5 files changed, 97 insertions, 0 deletions
diff --git a/x11-fonts/paratype/Makefile b/x11-fonts/paratype/Makefile
new file mode 100644
index 000000000000..3c4295388d48
--- /dev/null
+++ b/x11-fonts/paratype/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: paratype-fonts
+# Date created: 05 March 2011
+# Whom: Alexey Illarionov <littlesavage@rambler.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= paratype
+PORTVERSION= 2.004
+CATEGORIES= x11-fonts
+MASTER_SITES= http://www.fontstock.com/public/
+MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
+DISTFILES= PTSansOFL.zip PTSerifOFL.zip
+
+MAINTAINER= littlesavage@rambler.ru
+COMMENT= ParaType font collection for the languages of Russia
+
+LICENSE= OFL
+LICENSE_FILE= ${WRKSRC}/PTSansPTSerifOFL.txt
+LICENSE_NAME= SIL Open Font License (OFL)
+LICENSE_PERMS= auto-accept
+
+INSTALLS_TTF= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+USE_TGZ= yes
+USE_ZIP= yes
+XORG_CAT= font
+
+FONTDIR= ParaType
+FONTROOTDIR= ${PREFIX}/lib/X11/fonts
+PLIST_SUB= FONTDIR="${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}"
+SUB_FILES= pkg-message
+SUB_LIST= FONTDIR="${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}"
+
+do-configure:
+ @${DO_NADA}
+
+do-install:
+ @${MKDIR} ${FONTROOTDIR}/${FONTDIR}
+ @${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTROOTDIR}/${FONTDIR}/
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/paratype/distinfo b/x11-fonts/paratype/distinfo
new file mode 100644
index 000000000000..d794da485271
--- /dev/null
+++ b/x11-fonts/paratype/distinfo
@@ -0,0 +1,4 @@
+SHA256 (xorg/font/PTSansOFL.zip) = 7105b5e7d9965b5b2fa189b5a84c66a8252b3432c0293f1350c15ad159447ee1
+SIZE (xorg/font/PTSansOFL.zip) = 1600360
+SHA256 (xorg/font/PTSerifOFL.zip) = 1bf55f3cf143a5e22501de18e597677ed81aaad9c12019146a9e3735e06543a5
+SIZE (xorg/font/PTSerifOFL.zip) = 1029464
diff --git a/x11-fonts/paratype/files/pkg-message.in b/x11-fonts/paratype/files/pkg-message.in
new file mode 100644
index 000000000000..e83334dd1c26
--- /dev/null
+++ b/x11-fonts/paratype/files/pkg-message.in
@@ -0,0 +1,11 @@
+To use these fonts, add the following line to the "Files" section of
+xorg.conf:
+
+ FontPath "%%PREFIX%%/%%FONTDIR%%/"
+
+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/paratype/pkg-descr b/x11-fonts/paratype/pkg-descr
new file mode 100644
index 000000000000..d2e83f62aee5
--- /dev/null
+++ b/x11-fonts/paratype/pkg-descr
@@ -0,0 +1,22 @@
+The ParaType PT Sans and PT Serif font families were developed as
+part of the "Public Types of Russian Federation" project. The main
+objective of the project is to allow the peoples of Russia to read
+and write their native languages using free/libre fonts.
+
+In addition to standard Western, Central European, and Cyrillic code
+pages, the fonts contain characters of all title languages of the
+Russian Federation.
+
+PT Sans is based on Russian sans serif types of the second part of
+the XX century, but at the same time has a very distinctive features
+of modern humanistic design. The family consists of 8 styles: 4
+basic styles, 2 caption styles for small sizes, and 2 narrow styles.
+
+PT Serif is a transitional serif face with humanistic terminals
+designed for use together with PT Sans. It consists of 6 styles: 4
+basic styles, and 2 caption styles for small sizes.
+
+The fonts were released by ParaType, and designed by Alexandra
+Korolkova, Olga Umpeleva and Vladimir Yefimov.
+
+WWW: http://www.paratype.com/public/
diff --git a/x11-fonts/paratype/pkg-plist b/x11-fonts/paratype/pkg-plist
new file mode 100644
index 000000000000..fdd2ef20d53b
--- /dev/null
+++ b/x11-fonts/paratype/pkg-plist
@@ -0,0 +1,14 @@
+%%FONTDIR%%/PTC55F.ttf
+%%FONTDIR%%/PTC75F.ttf
+%%FONTDIR%%/PTF55F.ttf
+%%FONTDIR%%/PTF56F.ttf
+%%FONTDIR%%/PTF75F.ttf
+%%FONTDIR%%/PTF76F.ttf
+%%FONTDIR%%/PTN57F.ttf
+%%FONTDIR%%/PTN77F.ttf
+%%FONTDIR%%/PTS55F.ttf
+%%FONTDIR%%/PTS56F.ttf
+%%FONTDIR%%/PTS75F.ttf
+%%FONTDIR%%/PTS76F.ttf
+%%FONTDIR%%/PTZ55F.ttf
+%%FONTDIR%%/PTZ56F.ttf