The TrueType core fonts for the web that were once available from

http://www.microsoft.com/typography/fontpack/. The port is constructed
so that the actual fonts are downloaded from Sourceforge's site at
build time so this port does not 'redistribute' the fonts, it just
makes it easy to install them on an OpenBSD system.

ok pvalchev@
This commit is contained in:
marcm 2002-12-07 06:16:26 +00:00
parent 19680eb83c
commit 3820acb11e
6 changed files with 239 additions and 0 deletions

View File

@ -0,0 +1,52 @@
# $OpenBSD
COMMENT= "Microsoft TrueType core fonts"
DISTNAME= msttcorefonts-1.2
DISTFILES= ${FONTS}
CATEGORIES= x11
HOMEPAGE= http://corefonts.sourceforge.net/
MAINTAINER= Steve Shockley <steve.shockley@shockley.net>
# Font source files have a restrictive license
PERMIT_PACKAGE_CDROM= "Restrictive license, can't distribute modified files"
PERMIT_PACKAGE_FTP= "Restrictive license, can't distribute modified files"
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=corefonts/}
BUILD_DEPENDS= cabextract:cabextract-*:archivers/cabextract \
ttmkfdir:ttmkfdir-*:x11/ttmkfdir
NO_BUILD= Yes
FONTS= andale32.exe \
arial32.exe \
arialb32.exe \
comic32.exe \
courie32.exe \
georgi32.exe \
impact32.exe \
times32.exe \
trebuc32.exe \
verdan32.exe \
webdin32.exe
INST_DIR= lib/X11/fonts/mscorefonts
do-extract:
.for fontfile in ${FONTS}
${LOCALBASE}/bin/cabextract ${DISTDIR}/${fontfile} --lowercase --directory=${WRKDIST}
.endfor
do-install:
${TRUEPREFIX}/bin/ttmkfdir -d ${WRKDIST} > ${WRKDIST}/fonts.dir
${INSTALL_DATA_DIR} "${PREFIX}/${INST_DIR}"
${INSTALL_DATA} ${WRKDIST}/*.ttf ${WRKDIST}/fonts.dir "${PREFIX}/${INST_DIR}"
tr -d \\015 < ${WRKDIST}/licen.txt > "${PREFIX}/${INST_DIR}/eula.txt"
ln -s fonts.dir "${PREFIX}/${INST_DIR}/fonts.scale"
.include <bsd.port.mk>

View File

@ -0,0 +1,33 @@
MD5 (andale32.exe) = cbdc2fdd7d2ed0832795e86a8b9ee19a
MD5 (arial32.exe) = 9637df0e91703179f0723ec095a36cb5
MD5 (arialb32.exe) = c9089ae0c3b3d0d8c4b0a95979bb9ff0
MD5 (comic32.exe) = 2b30de40bb5e803a0452c7715fc835d1
MD5 (courie32.exe) = 4e412c772294403ab62fb2d247d85c60
MD5 (georgi32.exe) = 4d90016026e2da447593b41a8d8fa8bd
MD5 (impact32.exe) = 7907c7dd6684e9bade91cff82683d9d7
MD5 (times32.exe) = ed39c8ef91b9fb80f76f702568291bd5
MD5 (trebuc32.exe) = 0d7ea16cac6261f8513a061fbfcdb2b5
MD5 (verdan32.exe) = 12d2a75f8156e10607be1eaa8e8ef120
MD5 (webdin32.exe) = 230a1d13a365b22815f502eb24d9149b
RMD160 (andale32.exe) = 6d2bd737acc3ec8ed6ad4ec5503d1a0674ab1228
RMD160 (arial32.exe) = 46579cf7e4cbaedba2adfa7676197cb8bc9a2c28
RMD160 (arialb32.exe) = 3f2e4171d26f9eb0b3e0854e020ac5e5d575916b
RMD160 (comic32.exe) = 95a096424527f4fcd90d4bd3ae9623c09a7fa4ad
RMD160 (courie32.exe) = 9e075afda88670230c29b593a5ebf172511e672f
RMD160 (georgi32.exe) = 9d8f65999a069176352d42060b6e7f5fe7e1fe9d
RMD160 (impact32.exe) = 3129fac881f4ed9e6fc5af706b7a334170b3a97e
RMD160 (times32.exe) = 44d5dda0da59084e00120c678a98358b1ea3ad0f
RMD160 (trebuc32.exe) = 4cc1485ac7662ff2c8b7ca7bd5e9dda5651a9f00
RMD160 (verdan32.exe) = bfb8b359e011186174e3ff22993f91a78f62ff30
RMD160 (webdin32.exe) = 5382199cf8558228b13a0977d6254395070a9975
SHA1 (andale32.exe) = c4db8cbe42c566d12468f5fdad38c43721844c69
SHA1 (arial32.exe) = 6d75f8436f39ab2da5c31ce651b7443b4ad2916e
SHA1 (arialb32.exe) = d45cdab84b7f4c1efd6d1b369f50ed0390e3d344
SHA1 (comic32.exe) = 2371d0327683dcc5ec1684fe7c275a8de1ef9a51
SHA1 (courie32.exe) = 06a745023c034f88b4135f5e294fece1a3c1b057
SHA1 (georgi32.exe) = 90e4070cb356f1d811acb943080bf97e419a8f1e
SHA1 (impact32.exe) = 86b34d650cfbbe5d3512d49d2545f7509a55aad2
SHA1 (times32.exe) = 20b79e65cdef4e2d7195f84da202499e3aa83060
SHA1 (trebuc32.exe) = 50aab0988423efcc9cf21fac7d64d534d6d0a34a
SHA1 (verdan32.exe) = f5b93cedf500edc67502f116578123618c64a42a
SHA1 (webdin32.exe) = 2fb4a42c53e50bc70707a7b3c57baf62ba58398f

View File

@ -0,0 +1,54 @@
<HTML>
<HEAD>
<TITLE>TrueType core fonts for the Web end user license agreement</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso8859-1">
<BODY BGCOLOR="#FFFFFF" BOTTOMMARGIN="20" TOPMARGIN="0" LEFTMARGIN="0">
<B>END-USER LICENSE AGREEMENT FOR<BR>MICROSOFT SOFTWARE</B><P>
IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement (&quot;EULA&quot;) is a legal agreement between you (either an individual or a single entity) and Microsoft Corporation for the Microsoft software accompanying this EULA, which includes computer software and may include associated media, printed materials, and &quot;on-line&quot; or electronic documentation (&quot;SOFTWARE PRODUCT&quot; or &quot;SOFTWARE&quot;). By exercising your rights to make and use copies of the SOFTWARE PRODUCT, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, you may not use the SOFTWARE PRODUCT.
<P>
<BR>
<B>SOFTWARE PRODUCT LICENSE</B><BR>
The SOFTWARE PRODUCT is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The SOFTWARE PRODUCT is licensed, not sold.<P><BR>
<B>1. GRANT OF LICENSE.</B> This EULA grants you the following rights:
<UL>
<LI> <B>Installation and Use.</B> You may install and use an unlimited number of copies of the SOFTWARE PRODUCT.
<LI> <B>Reproduction and Distribution.</B> You may reproduce and distribute an unlimited number of copies of the SOFTWARE PRODUCT; provided that each copy shall be a true and complete copy, including all copyright and trademark notices, and shall be accompanied by a copy of this EULA. Copies of the SOFTWARE PRODUCT may not be distributed for profit either on a standalone basis or included as part of your own product.
</UL>
<P><BR>
<B>2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS. </B>
<UL>
<LI> <B>Limitations on Reverse Engineering, Decompilation, and Disassembly. </B>You may not reverse engineer, decompile, or disassemble the SOFTWARE PRODUCT, except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation.
<LI> <B>Restrictions on Alteration. </B> You may not rename, edit or create any derivative works from the SOFTWARE PRODUCT, other than subsetting when embedding them in documents.
<LI> <B>Software Transfer. </B> You may permanently transfer all of your rights under this EULA, provided the recipient agrees to the terms of this EULA.
<LI> <B>Termination. </B> Without prejudice to any other rights, Microsoft may terminate this EULA if you fail to comply with the terms and conditions of this EULA. In such event, you must destroy all copies of the SOFTWARE PRODUCT and all of its component parts.
</UL>
<P><BR>
<B>3. COPYRIGHT.</B> All title and copyrights in and to the SOFTWARE PRODUCT (including but not limited to any images, text, and &quot;applets&quot; incorporated into the SOFTWARE PRODUCT), the accompanying printed materials, and any copies of the SOFTWARE PRODUCT are owned by Microsoft or its suppliers. The SOFTWARE PRODUCT is protected by copyright laws and international treaty provisions. Therefore, you must treat the SOFTWARE PRODUCT like any other copyrighted material. <P><BR>
<B>4. U.S. GOVERNMENT RESTRICTED RIGHTS. </B> The SOFTWARE PRODUCT and documentation are provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial Computer Software - Restricted Rights at 48 CFR 52.227-19, as applicable. Manufacturer is Microsoft Corporation/One Microsoft Way/Redmond, WA 98052-6399. <P>
<BR>
<B>LIMITED WARRANTY</B><P>
<B>NO WARRANTIES.</B> Microsoft expressly disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided &quot;as is&quot; without warranty of any kind, either express or implied, including, without limitation, the implied warranties or merchantability, fitness for a particular purpose, or noninfringement. The entire risk arising out of use or performance of the SOFTWARE PRODUCT remains with you.<P>
<B>NO LIABILITY FOR CONSEQUENTIAL DAMAGES.</B> In no event shall Microsoft or its suppliers be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this Microsoft product, even if Microsoft has been advised of the possibility of such damages. Because some states/jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you.<P>
<BR>
<B>MISCELLANEOUS</B>
<P>
If you acquired this product in the United States, this EULA is governed by the laws of the State of Washington.
<P>
If this product was acquired outside the United States, then local laws may apply.
<P>
Should you have any questions concerning this EULA, or if you desire to contact Microsoft for any reason, please contact the Microsoft subsidiary serving your country, or write: Microsoft Sales Information Center/One Microsoft Way/Redmond, WA 98052-6399.
<P>
</html>

View File

@ -0,0 +1,7 @@
The TrueType core fonts for the web that were once available from
http://www.microsoft.com/typography/fontpack/. The port is constructed
so that the actual fonts are downloaded from Sourceforge's site at
build time so this port does not 'redistribute' the fonts, it just
makes it easy to install them on an OpenBSD system.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,58 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.1.1.1 2002/12/07 06:16:26 marcm Exp $
#
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
INST_DIR=${INST_DIR:-lib/X11/fonts}
do_notice()
{
echo
echo "+---------------"
echo "| After installing, you'll need to do one of the following:"
echo "| "
echo "| If you are the only user on the system who wants to use these"
echo "| fonts, create ~/.xftconfig with this line:"
echo "| "
echo "| dir \"${PREFIX}/${INST_DIR}\""
echo "| "
echo "| To enable the fonts systemwide, you have to edit"
echo "| /usr/X11R6/lib/X11/XftConfig and add:"
echo "| "
echo "| dir \"${PREFIX}/${INST_DIR}\""
echo "| "
echo "| right after dir \"/usr/X11R6/lib/X11/fonts/Type1\". "
echo "| "
echo "| See http://www.openbsd.org/faq/truetype.html for more details."
echo "+---------------"
echo
}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
do_notice
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

View File

@ -0,0 +1,35 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/12/07 06:16:26 marcm Exp $
lib/X11/fonts/mscorefonts/andalemo.ttf
lib/X11/fonts/mscorefonts/arial.ttf
lib/X11/fonts/mscorefonts/arialbd.ttf
lib/X11/fonts/mscorefonts/arialbi.ttf
lib/X11/fonts/mscorefonts/ariali.ttf
lib/X11/fonts/mscorefonts/ariblk.ttf
lib/X11/fonts/mscorefonts/comic.ttf
lib/X11/fonts/mscorefonts/comicbd.ttf
lib/X11/fonts/mscorefonts/cour.ttf
lib/X11/fonts/mscorefonts/courbd.ttf
lib/X11/fonts/mscorefonts/courbi.ttf
lib/X11/fonts/mscorefonts/couri.ttf
lib/X11/fonts/mscorefonts/eula.txt
lib/X11/fonts/mscorefonts/fonts.dir
lib/X11/fonts/mscorefonts/fonts.scale
lib/X11/fonts/mscorefonts/georgia.ttf
lib/X11/fonts/mscorefonts/georgiab.ttf
lib/X11/fonts/mscorefonts/georgiai.ttf
lib/X11/fonts/mscorefonts/georgiaz.ttf
lib/X11/fonts/mscorefonts/impact.ttf
lib/X11/fonts/mscorefonts/times.ttf
lib/X11/fonts/mscorefonts/timesbd.ttf
lib/X11/fonts/mscorefonts/timesbi.ttf
lib/X11/fonts/mscorefonts/timesi.ttf
lib/X11/fonts/mscorefonts/trebuc.ttf
lib/X11/fonts/mscorefonts/trebucbd.ttf
lib/X11/fonts/mscorefonts/trebucbi.ttf
lib/X11/fonts/mscorefonts/trebucit.ttf
lib/X11/fonts/mscorefonts/verdana.ttf
lib/X11/fonts/mscorefonts/verdanab.ttf
lib/X11/fonts/mscorefonts/verdanai.ttf
lib/X11/fonts/mscorefonts/verdanaz.ttf
lib/X11/fonts/mscorefonts/webdings.ttf
@dirrm lib/X11/fonts/mscorefonts