aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-fonts/pingwi/Makefile37
-rw-r--r--x11-fonts/pingwi/distinfo3
-rw-r--r--x11-fonts/pingwi/files/pkg-message.in11
-rw-r--r--x11-fonts/pingwi/pkg-descr8
-rw-r--r--x11-fonts/pingwi/pkg-plist15
5 files changed, 74 insertions, 0 deletions
diff --git a/x11-fonts/pingwi/Makefile b/x11-fonts/pingwi/Makefile
new file mode 100644
index 000000000000..b459129087c6
--- /dev/null
+++ b/x11-fonts/pingwi/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: font-pingwi
+# Date created: 2010-07-20
+# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pingwi
+PORTVERSION= 0.1
+CATEGORIES= x11-fonts
+MASTER_SITES= http://www.pingwinsoft.ru/system/uploads/16/original/ \
+ http://fbsd.zlonet.ru/distfiles/
+PKGNAMEPREFIX= font-
+DISTNAME= fonts_test
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= PingWi Typography fonts
+
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_ZIP= yes
+NO_BUILD= yes
+PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
+FONTSDIR= ${PREFIX}/lib/X11/fonts/pingwi
+SUB_FILES= pkg-message
+SUB_LIST= FONTSDIR=${FONTSDIR}
+
+do-install:
+ ${MKDIR} ${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
+
+post-install:
+ @${ECHO_MSG} "===> Running fc-cache"
+ @-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/pingwi/distinfo b/x11-fonts/pingwi/distinfo
new file mode 100644
index 000000000000..6254edca06c1
--- /dev/null
+++ b/x11-fonts/pingwi/distinfo
@@ -0,0 +1,3 @@
+MD5 (fonts_test.zip) = 46a3e79755cf81bcef828fd238885cd9
+SHA256 (fonts_test.zip) = ce378594040cd26500d62ebee3ef6afc79ebac4dd203ddfe6e2aa0b8ed07f565
+SIZE (fonts_test.zip) = 503863
diff --git a/x11-fonts/pingwi/files/pkg-message.in b/x11-fonts/pingwi/files/pkg-message.in
new file mode 100644
index 000000000000..7814b8381476
--- /dev/null
+++ b/x11-fonts/pingwi/files/pkg-message.in
@@ -0,0 +1,11 @@
+Make sure that the freetype module is loaded. If it is not, add the following
+line to the "Modules" section of your X Windows configuration file:
+
+ Load "freetype"
+
+Add the following line to the "Files" section of X Windows configuration file:
+
+ FontPath "%%FONTSDIR%%/"
+
+Note: your X Windows configuration file is typically /etc/X11/XF86Config
+if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
diff --git a/x11-fonts/pingwi/pkg-descr b/x11-fonts/pingwi/pkg-descr
new file mode 100644
index 000000000000..e54da3fae7cc
--- /dev/null
+++ b/x11-fonts/pingwi/pkg-descr
@@ -0,0 +1,8 @@
+PingWi Typography (PWT) font package contains PWT Tahion, PWT Arion,
+PWT Courant, PWT Verde and PWT Timer fonts that are supposed
+to substitute Microsoft's Tahoma, Arial, Courier, Verdana and
+Times New Roman respectively. They are designed to resolve formatting
+problems with documents created in MS Office, when they are opened
+in OpenOffice.org.
+
+WWW: http://www.pingwinsoft.ru/pages/resheniya
diff --git a/x11-fonts/pingwi/pkg-plist b/x11-fonts/pingwi/pkg-plist
new file mode 100644
index 000000000000..95fdb5c989a3
--- /dev/null
+++ b/x11-fonts/pingwi/pkg-plist
@@ -0,0 +1,15 @@
+%%FONTSDIR%%/PWTArionTST.ttf
+%%FONTSDIR%%/PWTArionTSTBold.ttf
+%%FONTSDIR%%/PWTArionTSTBoldItalic.ttf
+%%FONTSDIR%%/PWTArionTSTItalic.ttf
+%%FONTSDIR%%/PWTCourantTST.ttf
+%%FONTSDIR%%/PWTTahionTST.ttf
+%%FONTSDIR%%/PWTTahionTSTBold.ttf
+%%FONTSDIR%%/PWTTimerTST.ttf
+%%FONTSDIR%%/PWTTimerTSTBold.ttf
+%%FONTSDIR%%/PWTTimerTSTItalic.ttf
+%%FONTSDIR%%/PWTVerdeTST.ttf
+%%FONTSDIR%%/PWTVerdeTSTBold.ttf
+%%FONTSDIR%%/PWTVerdeTSTItalic.ttf
+@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
+@dirrm %%FONTSDIR%%