Date: Sun, 2 Jan 2000 16:56:00 +0100 (CET) From: Christian Weisgerber <naddy@mips.rhein-neckar.de> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/15840: New port: x11-fonts/ucs-fixed Message-ID: <200001021556.QAA13671@bigeye.rhein-neckar.de>
next in thread | raw e-mail | index | archive | help
>Number: 15840 >Category: ports >Synopsis: New port: x11-fonts/ucs-fixed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 2 08:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Christian Weisgerber >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: X11 >Description: Markus Kuhn's "backwards compatible Unicode/ISO 10646-1 extensions of the classic ISO 8859-1 X11 terminal fonts" as submitted for inclusion in XFree86 4.0. Companion port to xterm in PR #15545. >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: # # ucs-fixed # ucs-fixed/Makefile # ucs-fixed/pkg # ucs-fixed/pkg/COMMENT # ucs-fixed/pkg/DESCR # ucs-fixed/pkg/PLIST # ucs-fixed/pkg/DEINSTALL # ucs-fixed/files # ucs-fixed/files/md5 # ucs-fixed/files/INSTALL.tmpl # echo c - ucs-fixed mkdir -p ucs-fixed > /dev/null 2>&1 echo x - ucs-fixed/Makefile sed 's/^X//' >ucs-fixed/Makefile << 'END-of-ucs-fixed/Makefile' X# New ports collection makefile for: ucs-fixed X# Version required: 19991218 X# Date created: 1999-12-18 X# Whom: Christian Weisgerber <naddy@mips.rhein-neckar.de> X# X# $FreeBSD$ X XDISTNAME= ucs-fixed-19991218 XCATEGORIES= x11-fonts XMASTER_SITES= http://www.cl.cam.ac.uk/~mgk25/download/ X XMAINTAINER= naddy@mips.rhein-neckar.de X XPKGINSTALL= ${WRKDIR}/INSTALL XNO_WRKSUBDIR= yes XNO_BUILD= yes XUSE_X_PREFIX= yes X Xpost-configure: X @(${SED} -n "1,/<<'\*EOF\*'/p" ${FILESDIR}/INSTALL.tmpl ; \ X ${ECHO} "!>>>> ${PKGNAME} >>>>" ; \ X ${CAT} ${WRKSRC}/fonts.alias ; \ X ${ECHO} "!<<<< ${PKGNAME} <<<<" ; \ X ${SED} -n "/^\*EOF\*/,\$$p" ${FILESDIR}/INSTALL.tmpl) >${PKGINSTALL} X Xpre-install: X @${SETENV} PKG_PREFIX=${PREFIX} \ X ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X Xdo-install: X @${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${PREFIX}/lib/X11/fonts/local X Xpost-install: X @${SETENV} PKG_PREFIX=${PREFIX} \ X ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X X.include <bsd.port.mk> END-of-ucs-fixed/Makefile echo c - ucs-fixed/pkg mkdir -p ucs-fixed/pkg > /dev/null 2>&1 echo x - ucs-fixed/pkg/COMMENT sed 's/^X//' >ucs-fixed/pkg/COMMENT << 'END-of-ucs-fixed/pkg/COMMENT' XUnicode versions of the X11 "misc-fixed-*" fonts END-of-ucs-fixed/pkg/COMMENT echo x - ucs-fixed/pkg/DESCR sed 's/^X//' >ucs-fixed/pkg/DESCR << 'END-of-ucs-fixed/pkg/DESCR' XThis is an update of all -Misc-Fixed-* fonts in the X11 distribution. X XWe have extended all old -Misc-Fixed-* fonts from their original XISO 646.119-IRV or ISO 8859-1 repertoire to a comprehensive repertoire Xin the ISO 10646-1 encoding (UCS, Unicode). X XFour new ISO 10646-1 fonts were added, for which there was no Xequivalent version in the X11R6.4 distribution before, and which Xshould be highly useful: 9x18 is an improved variant of 9x15 designed Xto have enough space to allow the unproblematic use of overstriking Xcombining characters, 18x18ja provides Japanese doublewidth Xideographic characters for 9x18, and 12x13ja provides Japanese Xdoublewidth ideographic characters for 6x13. X XWWW: http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html X X- Christian "naddy" Weisgerber X naddy@mips.rhein-neckar.de END-of-ucs-fixed/pkg/DESCR echo x - ucs-fixed/pkg/PLIST sed 's/^X//' >ucs-fixed/pkg/PLIST << 'END-of-ucs-fixed/pkg/PLIST' Xlib/X11/fonts/local/10x20-ISO8859-1.pcf.gz Xlib/X11/fonts/local/10x20.pcf.gz Xlib/X11/fonts/local/12x13ja.pcf.gz Xlib/X11/fonts/local/18x18ja.pcf.gz Xlib/X11/fonts/local/5x7-ISO8859-1.pcf.gz Xlib/X11/fonts/local/5x7.pcf.gz Xlib/X11/fonts/local/5x8-ISO8859-1.pcf.gz Xlib/X11/fonts/local/5x8.pcf.gz Xlib/X11/fonts/local/6x10-ISO8859-1.pcf.gz Xlib/X11/fonts/local/6x10.pcf.gz Xlib/X11/fonts/local/6x12-ISO8859-1.pcf.gz Xlib/X11/fonts/local/6x12.pcf.gz Xlib/X11/fonts/local/6x13-ISO8859-1.pcf.gz Xlib/X11/fonts/local/6x13-ISO8859-2.pcf.gz Xlib/X11/fonts/local/6x13-ISO8859-7.pcf.gz Xlib/X11/fonts/local/6x13-ISO8859-8.pcf.gz Xlib/X11/fonts/local/6x13-KOI8-R.pcf.gz Xlib/X11/fonts/local/6x13.pcf.gz Xlib/X11/fonts/local/6x13B-ISO8859-1.pcf.gz Xlib/X11/fonts/local/6x13B-ISO8859-2.pcf.gz Xlib/X11/fonts/local/6x13B-ISO8859-7.pcf.gz Xlib/X11/fonts/local/6x13B.pcf.gz Xlib/X11/fonts/local/6x9-ISO8859-1.pcf.gz Xlib/X11/fonts/local/6x9.pcf.gz Xlib/X11/fonts/local/7x13-ISO8859-1.pcf.gz Xlib/X11/fonts/local/7x13-ISO8859-15.pcf.gz Xlib/X11/fonts/local/7x13.pcf.gz Xlib/X11/fonts/local/7x13B-ISO8859-1.pcf.gz Xlib/X11/fonts/local/7x13B-ISO8859-15.pcf.gz Xlib/X11/fonts/local/7x13B.pcf.gz Xlib/X11/fonts/local/7x14-ISO8859-1.pcf.gz Xlib/X11/fonts/local/7x14-JISX0201.1976-0.pcf.gz Xlib/X11/fonts/local/7x14.pcf.gz Xlib/X11/fonts/local/7x14B-ISO8859-1.pcf.gz Xlib/X11/fonts/local/7x14B.pcf.gz Xlib/X11/fonts/local/8x13-ISO8859-1.pcf.gz Xlib/X11/fonts/local/8x13-ISO8859-2.pcf.gz Xlib/X11/fonts/local/8x13-ISO8859-7.pcf.gz Xlib/X11/fonts/local/8x13-ISO8859-8.pcf.gz Xlib/X11/fonts/local/8x13-KOI8-R.pcf.gz Xlib/X11/fonts/local/8x13.pcf.gz Xlib/X11/fonts/local/8x13B-ISO8859-1.pcf.gz Xlib/X11/fonts/local/8x13B-ISO8859-2.pcf.gz Xlib/X11/fonts/local/8x13B-ISO8859-7.pcf.gz Xlib/X11/fonts/local/8x13B.pcf.gz Xlib/X11/fonts/local/9x15-ISO8859-1.pcf.gz Xlib/X11/fonts/local/9x15.pcf.gz Xlib/X11/fonts/local/9x15B-ISO8859-1.pcf.gz Xlib/X11/fonts/local/9x15B.pcf.gz Xlib/X11/fonts/local/9x18-ISO8859-1.pcf.gz Xlib/X11/fonts/local/9x18.pcf.gz Xlib/X11/fonts/local/9x18B-ISO8859-1.pcf.gz Xlib/X11/fonts/local/9x18B.pcf.gz END-of-ucs-fixed/pkg/PLIST echo x - ucs-fixed/pkg/DEINSTALL sed 's/^X//' >ucs-fixed/pkg/DEINSTALL << 'END-of-ucs-fixed/pkg/DEINSTALL' X#!/bin/sh X Xxset_msg() X{ X echo "" X echo "You should restart the X server or execute \"xset fp rehash\"" X echo "on the install host." X echo "" X} X Xpost_deinstall() X{ X cd ${PKG_PREFIX}/lib/X11/fonts/local X tmpfile=`mktemp /tmp/$0.XXXXXX` || exit 1 X chmod a+r ${tmpfile} X sed "/^!>>>> $1 >>>>\$/,/^!<<<< $1 <<<<\$/d" fonts.alias >${tmpfile} X mv ${tmpfile} fonts.alias X mkfontdir X case ${DISPLAY} in X `hostname`:*|`hostname -s`:*|:*) X xset fp rehash 2>/dev/null || xset_msg ;; X *) X xset_msg ;; X esac X} X Xcase $2 in X DEINSTALL) exit 0 ;; X POST-DEINSTALL) post_deinstall "$1" ;; Xesac END-of-ucs-fixed/pkg/DEINSTALL echo c - ucs-fixed/files mkdir -p ucs-fixed/files > /dev/null 2>&1 echo x - ucs-fixed/files/md5 sed 's/^X//' >ucs-fixed/files/md5 << 'END-of-ucs-fixed/files/md5' XMD5 (ucs-fixed-19991218.tar.gz) = 9cf779cac3e8e91aeb88a469a211e78b END-of-ucs-fixed/files/md5 echo x - ucs-fixed/files/INSTALL.tmpl sed 's/^X//' >ucs-fixed/files/INSTALL.tmpl << 'END-of-ucs-fixed/files/INSTALL.tmpl' X#!/bin/sh X XFONTDIR=${PKG_PREFIX}/lib/X11/fonts/local X Xxset_msg() X{ X echo "" X echo "You should restart the X server or execute \"xset fp rehash\"" X echo "on the install host." X echo "" X} X Xpre_install() X{ X if [ ! -d ${FONTDIR} ]; then X mkdir -p ${FONTDIR} X echo "" X echo "Please add ${FONTDIR} to your /etc/XF86Config file" X echo "" X fi X} X Xpost_install() X{ X cd ${FONTDIR} X cat >>fonts.alias <<'*EOF*' X*EOF* X mkfontdir X case ${DISPLAY} in X `hostname`:*|`hostname -s`:*|:*) X xset fp rehash 2>/dev/null || xset_msg ;; X *) X xset_msg ;; X esac X} X Xcase $2 in X PRE-INSTALL) pre_install ;; X POST-INSTALL) post_install ;; Xesac END-of-ucs-fixed/files/INSTALL.tmpl 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?200001021556.QAA13671>