Date: Thu, 18 Jan 2001 16:24:44 +0200 (EET) From: kkonstan@duth.gr To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24431: New port: TrueType core fonts for the Web Message-ID: <200101181424.f0IEOix01480@trinity.daemon.gr>
next in thread | raw e-mail | index | archive | help
>Number: 24431 >Category: ports >Synopsis: New port: TrueType core fonts for the Web >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 18 06:30:03 PST 2001 >Closed-Date: >Last-Modified: >Originator: Konstantinos Konstantinidis >Release: FreeBSD 4.2-STABLE i386 >Organization: Demokritos University of Thrace >Environment: >Description: This is a collection of high quality and free to use TrueType fonts created by Monotype and Microsoft Typography. It consists of the following families: Times New Roman, Courier New, Arial, Arial Black, Impact, Trebuchet MS, Andale Mono, Verdana, Georgia and Comic Sans. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/x11-fonts/webfonts/ # /usr/ports/x11-fonts/webfonts/Makefile # /usr/ports/x11-fonts/webfonts/distinfo # /usr/ports/x11-fonts/webfonts/pkg-plist # /usr/ports/x11-fonts/webfonts/pkg-descr # /usr/ports/x11-fonts/webfonts/pkg-comment # /usr/ports/x11-fonts/webfonts/pkg-message # echo c - /usr/ports/x11-fonts/webfonts/ mkdir -p /usr/ports/x11-fonts/webfonts/ > /dev/null 2>&1 echo x - /usr/ports/x11-fonts/webfonts/Makefile sed 's/^X//' >/usr/ports/x11-fonts/webfonts/Makefile << 'END-of-/usr/ports/x11-fonts/webfonts/Makefile' X# New ports collection makefile for: TrueType core fonts for the Web X# Date created: 12 Jan 2001 X# Whom: Konstantinos Konstantinidis <kkonstan@daemon.gr> X# X# $FreeBSD$ X# X XPORTNAME= webfonts XPORTVERSION= 0.12 XCATEGORIES= x11-fonts XMASTER_SITES= http://www.microsoft.com/typography/downloads/ XDISTFILES= andale32.exe trebuc32.exe georgi32.exe verdan32.exe \ X comic32.exe arialb32.exe impact32.exe arial32.exe \ X times32.exe courie32.exe webdin32.exe XDIST_SUBDIR= webfonts X XMAINTAINER= kkonstan@daemon.gr X XBUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir \ X cabextract:${PORTSDIR}/archivers/cabextract X XRESTRICTED= "Restrictive license \(can\'t place on server for distribution\)" XNO_CDROM= "Restrictive license \(can\'t sell for profit\)" XNO_PACKAGE= "Restrictive license \(can\'t distribute in forms other than the original\)" X XUSE_X_PREFIX= yes X XEXTRACT_CMD= cabextract XEXTRACT_BEFORE_ARGS= XEXTRACT_AFTER_ARGS= >/dev/null X Xpost-extract: X @${MKDIR} ${WRKDIR}/webfonts X @${MV} ${WRKDIR}/*.* ${WRKDIR}/webfonts X @${RM} ${WRKDIR}/webfonts/*.[Dd][Ll][Ll] X @${RM} ${WRKDIR}/webfonts/*.[Ee][Xx][Ee] X @${RM} ${WRKDIR}/webfonts/*.[Ii][Nn][Ff] X @for file in `cd ${WRKDIR}/webfonts; ${ECHO} *` ; do \ X ${MV} `${ECHO} ${WRKDIR}/webfonts/$${file}` \ X `${ECHO} ${WRKDIR}/webfonts/``${ECHO} $${file} | ${AWK} 'BEGIN { FS=" " } { print tolower($$1) }'` ;\ X done X @${MV} ${WRKDIR}/webfonts/licen.txt ${WRKDIR}/webfonts/LICENSE X @${CHMOD} 644 ${WRKDIR}/webfonts/* X Xdo-build: X @ttmkfdir -d ${WRKDIR}/webfonts | \ X ${SED} -e "s/monotype/truetype/g;s/microsoft/truetype/g" > ${WRKDIR}/webfonts/fonts.scale X @head -1 ${WRKDIR}/webfonts/fonts.scale > ${WRKDIR}/webfonts/fonts.dir X @tail +2 ${WRKDIR}/webfonts/fonts.scale | ${CAT} -n | sort -r | cut -c8- >>${WRKDIR}/webfonts/fonts.dir X @cp ${WRKDIR}/webfonts/fonts.dir ${WRKDIR}/webfonts/fonts.scale X @cp /dev/null ${WRKDIR}/webfonts/fonts.alias X.if !defined(WITHOUT_NETSCAPE) X @${ECHO} "" X @${ECHO} "Building aliases for Netscape. You can skip this by defining WITHOUT_NETSCAPE." X @${ECHO} -n "This might take a few minutes, please be patient..." X @tail +2 ${WRKDIR}/webfonts/fonts.scale | cut -f2- -d" " | while read LINE; do \ X for NSIZE in 8 9 10 12 14 16 18 20 24 ; do \ X if [ $${NSIZE} -lt 11 ] ; then \ X TSIZE=11 ;\ X else \ X TSIZE=$${NSIZE} ;\ X fi ;\ X TFONT=`${ECHO} $${LINE} | ${SED} -e "s/--0-0-0-0-/--$${TSIZE}-$${TSIZE}0-75-75-/g"` ;\ X NFONT=`${ECHO} $${LINE} | ${SED} -e "s/--0-0-0-0-/--$${NSIZE}-$${NSIZE}0-0-0-/g; s/truetype/netscape/g"` ;\ X ${ECHO} "\"$${NFONT}\" \"$${TFONT}\"" >>${WRKDIR}/webfonts/fonts.alias ;\ X done ;\ X ${ECHO} -n "." ;\ X done X @cp ${WRKDIR}/webfonts/fonts.alias ${WRKDIR}/webfonts/fonts.tmp X @grep -- "-netscape-Arial-" ${WRKDIR}/webfonts/fonts.tmp | \ X ${SED} -e "s/-netscape-Arial-/-netscape-MS Sans Serif-/g" >>${WRKDIR}/webfonts/fonts.alias X @grep -- "-netscape-Arial-" ${WRKDIR}/webfonts/fonts.tmp | \ X ${SED} -e "s/-netscape-Arial-/-netscape-helvetica-/g" >>${WRKDIR}/webfonts/fonts.alias X @grep -- "-netscape-Times New Roman-" ${WRKDIR}/webfonts/fonts.tmp | \ X ${SED} -e "s/-netscape-Times New Roman-/-netscape-times-/g" >>${WRKDIR}/webfonts/fonts.alias X @grep -- "-netscape-Courier New-" ${WRKDIR}/webfonts/fonts.tmp | \ X ${SED} -e "s/-netscape-Courier New-/-netscape-courier-/g" >>${WRKDIR}/webfonts/fonts.alias X @${RM} -f ${WRKDIR}/webfonts/fonts.tmp X @${ECHO} "" X.endif X @${CHMOD} 644 ${WRKDIR}/webfonts/* X Xdo-install: X @${MKDIR} ${PREFIX}/lib/X11/fonts/webfonts X @${CP} ${WRKDIR}/webfonts/* ${PREFIX}/lib/X11/fonts/webfonts X @${CHMOD} 755 ${PREFIX}/lib/X11/fonts/webfonts X @${CHMOD} 644 ${PREFIX}/lib/X11/fonts/webfonts/* X Xpost-install: X @${ECHO} "" X @${CAT} ${PKGMESSAGE} X @${ECHO} "" X X.include <bsd.port.mk> END-of-/usr/ports/x11-fonts/webfonts/Makefile echo x - /usr/ports/x11-fonts/webfonts/distinfo sed 's/^X//' >/usr/ports/x11-fonts/webfonts/distinfo << 'END-of-/usr/ports/x11-fonts/webfonts/distinfo' XMD5 (webfonts/andale32.exe) = cbdc2fdd7d2ed0832795e86a8b9ee19a XMD5 (webfonts/arial32.exe) = 9637df0e91703179f0723ec095a36cb5 XMD5 (webfonts/arialb32.exe) = c9089ae0c3b3d0d8c4b0a95979bb9ff0 XMD5 (webfonts/comic32.exe) = 2b30de40bb5e803a0452c7715fc835d1 XMD5 (webfonts/courie32.exe) = 4e412c772294403ab62fb2d247d85c60 XMD5 (webfonts/georgi32.exe) = 4d90016026e2da447593b41a8d8fa8bd XMD5 (webfonts/impact32.exe) = 7907c7dd6684e9bade91cff82683d9d7 XMD5 (webfonts/times32.exe) = ed39c8ef91b9fb80f76f702568291bd5 XMD5 (webfonts/trebuc32.exe) = d682547558bdeff6e4cd0454a4d6c18e XMD5 (webfonts/verdan32.exe) = 12d2a75f8156e10607be1eaa8e8ef120 XMD5 (webfonts/webdin32.exe) = 230a1d13a365b22815f502eb24d9149b END-of-/usr/ports/x11-fonts/webfonts/distinfo echo x - /usr/ports/x11-fonts/webfonts/pkg-plist sed 's/^X//' >/usr/ports/x11-fonts/webfonts/pkg-plist << 'END-of-/usr/ports/x11-fonts/webfonts/pkg-plist' Xlib/X11/fonts/webfonts/LICENSE Xlib/X11/fonts/webfonts/andalemo.ttf Xlib/X11/fonts/webfonts/arial.ttf Xlib/X11/fonts/webfonts/arialbd.ttf Xlib/X11/fonts/webfonts/arialbi.ttf Xlib/X11/fonts/webfonts/ariali.ttf Xlib/X11/fonts/webfonts/ariblk.ttf Xlib/X11/fonts/webfonts/comic.ttf Xlib/X11/fonts/webfonts/comicbd.ttf Xlib/X11/fonts/webfonts/cour.ttf Xlib/X11/fonts/webfonts/courbd.ttf Xlib/X11/fonts/webfonts/courbi.ttf Xlib/X11/fonts/webfonts/couri.ttf Xlib/X11/fonts/webfonts/fonts.alias Xlib/X11/fonts/webfonts/fonts.dir Xlib/X11/fonts/webfonts/fonts.scale Xlib/X11/fonts/webfonts/georgia.ttf Xlib/X11/fonts/webfonts/georgiab.ttf Xlib/X11/fonts/webfonts/georgiai.ttf Xlib/X11/fonts/webfonts/georgiaz.ttf Xlib/X11/fonts/webfonts/impact.ttf Xlib/X11/fonts/webfonts/times.ttf Xlib/X11/fonts/webfonts/timesbd.ttf Xlib/X11/fonts/webfonts/timesbi.ttf Xlib/X11/fonts/webfonts/timesi.ttf Xlib/X11/fonts/webfonts/trebuc.ttf Xlib/X11/fonts/webfonts/trebucbd.ttf Xlib/X11/fonts/webfonts/trebucbi.ttf Xlib/X11/fonts/webfonts/trebucit.ttf Xlib/X11/fonts/webfonts/verdana.ttf Xlib/X11/fonts/webfonts/verdanab.ttf Xlib/X11/fonts/webfonts/verdanai.ttf Xlib/X11/fonts/webfonts/verdanaz.ttf Xlib/X11/fonts/webfonts/webdings.ttf X@dirrm lib/X11/fonts/webfonts END-of-/usr/ports/x11-fonts/webfonts/pkg-plist echo x - /usr/ports/x11-fonts/webfonts/pkg-descr sed 's/^X//' >/usr/ports/x11-fonts/webfonts/pkg-descr << 'END-of-/usr/ports/x11-fonts/webfonts/pkg-descr' XThis is a collection of high quality and free to use TrueType fonts created by XMonotype and Microsoft Typography. It consists of the following families: X XTimes New Roman, Courier New, Arial, Arial Black, Impact, Trebuchet MS, Andale XMono, Verdana, Georgia and Comic Sans. X XWWW: http://www.microsoft.com/typography/fontpack/ X X-- K. Konstantinidis <kkonstan@daemon.gr> END-of-/usr/ports/x11-fonts/webfonts/pkg-descr echo x - /usr/ports/x11-fonts/webfonts/pkg-comment sed 's/^X//' >/usr/ports/x11-fonts/webfonts/pkg-comment << 'END-of-/usr/ports/x11-fonts/webfonts/pkg-comment' XTrueType core fonts for the Web END-of-/usr/ports/x11-fonts/webfonts/pkg-comment echo x - /usr/ports/x11-fonts/webfonts/pkg-message sed 's/^X//' >/usr/ports/x11-fonts/webfonts/pkg-message << 'END-of-/usr/ports/x11-fonts/webfonts/pkg-message' XIMPORTANT - READ CAREFULLY: You may not use these fonts if you do not agree to Xthe terms of the Microsoft End-User License Agreement ("EULA"). You will find Xthe EULA at /usr/X11R6/lib/X11/fonts/webfonts/LICENSE. X XIf you read and agreed to the EULA, you can start using the fonts. To be able Xto use them, you must add /usr/X11R6/lib/X11/fonts/webfonts to the X font path Xby either: X Xxset +fp /usr/X11R6/lib/X11/fonts/webfonts Xxset fp rehash X Xor by adding it to your X server configuration file. If you're using XFree86, Xcheck XF86Config(5) for detailed instructions. END-of-/usr/ports/x11-fonts/webfonts/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101181424.f0IEOix01480>