aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-05-01 19:50:14 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-05-01 19:50:14 +0000
commit1b5a6751db718d8862428e082711ea82e4967c9b (patch)
tree97fd398b897ad0689c1781db2e0062d64e6791c5 /x11-fonts
parent323e64d126deb2f11991c868fc4490a5ae90da89 (diff)
downloadports-1b5a6751db718d8862428e082711ea82e4967c9b.tar.gz
ports-1b5a6751db718d8862428e082711ea82e4967c9b.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/ms-fonts/Makefile46
-rw-r--r--x11-fonts/ms-fonts/distinfo9
-rw-r--r--x11-fonts/ms-fonts/pkg-comment1
-rw-r--r--x11-fonts/ms-fonts/pkg-descr15
-rw-r--r--x11-fonts/ms-fonts/pkg-plist26
6 files changed, 98 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 9b3f895c5a6d..601b13bbbbcd 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -18,6 +18,7 @@
SUBDIR += intlfonts
SUBDIR += jmk-x11-fonts
SUBDIR += mozilla-fonts
+ SUBDIR += ms-fonts
SUBDIR += nexfontsel
SUBDIR += nucleus
SUBDIR += p5-type1inst
diff --git a/x11-fonts/ms-fonts/Makefile b/x11-fonts/ms-fonts/Makefile
new file mode 100644
index 000000000000..20741a0c1249
--- /dev/null
+++ b/x11-fonts/ms-fonts/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: ms-fonts
+# Date created: May 1, 2001
+# Whom: mi@aldan.algebra.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= ms-fonts
+PORTVERSION= 1.0
+CATEGORIES= x11-fonts
+MASTER_SITES= http://www.microsoft.com/typography/downloads/ \
+ http://www.asia.microsoft.com/typography/downloads/ \
+ http://www.eu.microsoft.com/typography/downloads/
+DISTFILES= mtcom.exe verdana.exe georgia.exe webdings.exe trebuc.exe \
+ comic.exe ariblk.exe impact.exe times.exe
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= mi@aldan.algebra.com
+
+BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -oL
+NO_WRKSUBDIR= yes
+INST_DIR= share/${PORTNAME}
+PLIST_SUB+= INST_DIR="${INST_DIR}"
+NO_PACKAGE= EULA: may not be distributed for profit either on a standalone \
+ basis or included as part of your own product.
+
+# My impression is, koi8-ru is what later became koi8-u, but I've been
+# wrong a few times in the past. Let me know, it happened again. Also,
+# there may be more charset translations needed. -mi
+do-build:
+ ${PREFIX}/bin/ttmkfdir -d ${WRKDIR} | ${SED} s/koi8-ru/koi8-u/ \
+ > ${WRKDIR}/fonts.dir
+
+do-install:
+ ${MKDIR} "${PREFIX}/${INST_DIR}"
+ ${INSTALL_DATA} ${WRKDIR}/*.ttf ${WRKDIR}/fonts.dir "${PREFIX}/${INST_DIR}"
+ ${TR} -d \\015 < ${WRKDIR}/readme.txt > "${PREFIX}/${INST_DIR}/eula.txt"
+ ${LN} -s fonts.dir "${PREFIX}/${INST_DIR}/fonts.scale"
+
+post-install:
+ @${SED} 's%/usr/local%${PREFIX}%g' < ${DESCR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/ms-fonts/distinfo b/x11-fonts/ms-fonts/distinfo
new file mode 100644
index 000000000000..c7007e682f0d
--- /dev/null
+++ b/x11-fonts/ms-fonts/distinfo
@@ -0,0 +1,9 @@
+MD5 (ms-fonts/mtcom.exe) = 80d910102951f5411dc67fe6ca86985e
+MD5 (ms-fonts/verdana.exe) = f86beb2599910c01670509fed0c2e3f6
+MD5 (ms-fonts/georgia.exe) = aec8bc6aa9b4962c497e7778742b5abb
+MD5 (ms-fonts/webdings.exe) = cf953d35ece267e59a50fc24e92ae32c
+MD5 (ms-fonts/trebuc.exe) = 6ddd5f7d0809512fd471c2e10ca4dd72
+MD5 (ms-fonts/comic.exe) = 1b64cad08c0c0c90221374b54006cf88
+MD5 (ms-fonts/ariblk.exe) = 2018b18cb29007e0a3bb1c3e5b720e97
+MD5 (ms-fonts/impact.exe) = 62fe632f12ece14006c0445a02b0dbb0
+MD5 (ms-fonts/times.exe) = bbad1bd3dda1c2128279207874a922e7
diff --git a/x11-fonts/ms-fonts/pkg-comment b/x11-fonts/ms-fonts/pkg-comment
new file mode 100644
index 000000000000..036c59ca9f74
--- /dev/null
+++ b/x11-fonts/ms-fonts/pkg-comment
@@ -0,0 +1 @@
+MicroSoft's .ttf fonts available for free download
diff --git a/x11-fonts/ms-fonts/pkg-descr b/x11-fonts/ms-fonts/pkg-descr
new file mode 100644
index 000000000000..5cf9d7a4c320
--- /dev/null
+++ b/x11-fonts/ms-fonts/pkg-descr
@@ -0,0 +1,15 @@
+This is a set of True Type fonts available for download from MicroSoft's
+web-site. You can use them if your X-server supports .ttf fonts (or if
+you have other applications for fonts). A good thing about them is the
+multi-charset support.
+
+You'll have to add /usr/local/share/ms-fonts to your X font-path by
+either:
+
+$ xset fp+ /usr/local/share/ms-fonts
+$ xset fp rehash
+
+and/or by adding it to your X-server configuration file (usually
+/etc/X11/XF86Config or /etc/Xaccel.ini) and restarting the X-server.
+
+WWW: http://www.microsoft.com/typography/fontpack/
diff --git a/x11-fonts/ms-fonts/pkg-plist b/x11-fonts/ms-fonts/pkg-plist
new file mode 100644
index 000000000000..22ae9b2cff0f
--- /dev/null
+++ b/x11-fonts/ms-fonts/pkg-plist
@@ -0,0 +1,26 @@
+%%INST_DIR%%/ariblk.ttf
+%%INST_DIR%%/comic.ttf
+%%INST_DIR%%/comicbd.ttf
+%%INST_DIR%%/georgia.ttf
+%%INST_DIR%%/georgiab.ttf
+%%INST_DIR%%/georgiai.ttf
+%%INST_DIR%%/georgiaz.ttf
+%%INST_DIR%%/impact.ttf
+%%INST_DIR%%/monotype.ttf
+%%INST_DIR%%/times.ttf
+%%INST_DIR%%/timesb.ttf
+%%INST_DIR%%/timesi.ttf
+%%INST_DIR%%/timesz.ttf
+%%INST_DIR%%/trebuc.ttf
+%%INST_DIR%%/trebucbd.ttf
+%%INST_DIR%%/trebucbi.ttf
+%%INST_DIR%%/trebucit.ttf
+%%INST_DIR%%/verdana.ttf
+%%INST_DIR%%/verdanab.ttf
+%%INST_DIR%%/verdanai.ttf
+%%INST_DIR%%/verdanaz.ttf
+%%INST_DIR%%/webdings.ttf
+%%INST_DIR%%/eula.txt
+%%INST_DIR%%/fonts.dir
+%%INST_DIR%%/fonts.scale
+@dirrm %%INST_DIR%%