aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2011-05-27 00:47:27 +0800
committerbf <bf@FreeBSD.org>2011-05-27 00:47:27 +0800
commit13abf82b6ff896fa77f86bbe34e1da6e653895ad (patch)
treea3e7216066df1afcf430167a02cd6f76b182484c /x11-fonts
parent2f45018229a9a04b0536d224895844e806c639c9 (diff)
downloadfreebsd-ports-gnome-13abf82b6ff896fa77f86bbe34e1da6e653895ad.tar.gz
freebsd-ports-gnome-13abf82b6ff896fa77f86bbe34e1da6e653895ad.tar.zst
freebsd-ports-gnome-13abf82b6ff896fa77f86bbe34e1da6e653895ad.zip
Add paratype 2.004, ParaType font collection for the languages of
Russia.
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-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
6 files changed, 98 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 28e383d44a2f..612187ec38eb 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -120,6 +120,7 @@
SUBDIR += p5-Font-TTFMetrics
SUBDIR += p5-type1inst
SUBDIR += padauk
+ SUBDIR += paratype
SUBDIR += pcf2bdf
SUBDIR += pingwi
SUBDIR += ppantsfonts
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