From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 8 14:50:32 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A6DB16A4CE for ; Mon, 8 Dec 2003 14:50:32 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 354CC43D25 for ; Mon, 8 Dec 2003 14:50:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hB8MoHFY092425 for ; Mon, 8 Dec 2003 14:50:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hB8MoHRJ092424; Mon, 8 Dec 2003 14:50:17 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 8 Dec 2003 14:50:17 -0800 (PST) Resent-Message-Id: <200312082250.hB8MoHRJ092424@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DFBC16A4D1 for ; Mon, 8 Dec 2003 14:44:34 -0800 (PST) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id C51E143D29 for ; Mon, 8 Dec 2003 14:44:30 -0800 (PST) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 6D4EA751E; Mon, 8 Dec 2003 23:44:05 +0100 (CET) Message-Id: <20031208224405.6D4EA751E@graf.pompo.net> Date: Mon, 8 Dec 2003 23:44:05 +0100 (CET) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/60056: New file: Code2000, a shareware Unicode TrueType font with a lot of glyphs. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 22:50:32 -0000 >Number: 60056 >Category: ports >Synopsis: New file: Code2000, a shareware Unicode TrueType font with a lot of glyphs. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 08 14:50:16 PST 2003 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.9-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Nov 20 23:06:13 CET 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386 >Description: This is the Unicode font of reference. Very useful if you have to work on documents in various languages. Note: the skeleton of this port has been stolen from webfonts! >How-To-Repeat: N/A. >Fix: Pre-requisite: PR ports/60055 must have been committed. Please execute the following shar file: --- Code2000.shar begins here --- # 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: # # x11-fonts/Code2000 # x11-fonts/Code2000/Makefile # x11-fonts/Code2000/distinfo # x11-fonts/Code2000/pkg-descr # x11-fonts/Code2000/pkg-message # x11-fonts/Code2000/pkg-plist # echo c - x11-fonts/Code2000 mkdir -p x11-fonts/Code2000 > /dev/null 2>&1 echo x - x11-fonts/Code2000/Makefile sed 's/^X//' >x11-fonts/Code2000/Makefile << 'END-of-x11-fonts/Code2000/Makefile' X# New ports collection makefile for: Code2000 X# Date created: 6 Dec 2003 X# Whom: Thierry Thomas X# X# $FreeBSD$ X# X XPORTNAME= Code2000 XPORTVERSION= 1.13 XCATEGORIES= x11-fonts XMASTER_SITES= http://home.att.net/~jameskass/ XDISTFILES= ${PORTNAME:U}${EXTRACT_SUFX:U} XDIST_SUBDIR= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= thierry@pompo.net XCOMMENT= Shareware demo Unicode TrueType font X XBUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir2 X XNO_PACKAGE= Only unmodified original package can be distributed X XUSE_X_PREFIX= yes XUSE_ZIP= yes X X.include X X.if ${XFREE86_VERSION} == 3 XRUN_DEPENDS= xfstt:${PORTSDIR}/x11-servers/Xfstt X.endif X XPLIST_SUB= PKG_OLDXF86=${PKG_OLDXF86} \ X PKG_NSALIAS=${PKG_NSALIAS} \ X FONTNAME="${FONTNAME}" \ X FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" \ X TTFONTSDIR="${TTFONTSDIR:S|${X11BASE}/||}" X XMSG_FILE= ${PKGDIR}/pkg-message XPKGMESSAGE= ${WRKDIR}/pkg-message X X.if ${XFREE86_VERSION} == 3 XOLDXF86= X.else XOLDXF86= "@comment " X.endif X X# X# Local variables X# X XFONTNAME= ${PORTNAME} XFONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME} XTTFONTSDIR?= ${X11BASE}/lib/X11/fonts/TrueType X XTTMKFDIR_CMD?= ${X11BASE}/bin/ttmkfdir XSORT?= sort X X# X# Post-extract X# X Xpost-extract: move-fonts rename-license X Xmove-fonts: X ${MKDIR} ${WRKSRC} X ${MV} ${WRKDIR}/CODE2000.TTF ${WRKSRC}/${FONTNAME}.ttf X Xrename-license: X ${MV} ${WRKDIR}/CODE2000.HTM ${WRKSRC}/${FONTNAME}.html X X# X# Post-patch X# X Xpost-patch: X ${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE} X X# X# Build X# X Xdo-build: make-fonts.scale make-fonts.dir X Xmake-fonts.scale: X ${TTMKFDIR_CMD} -c -f JJK -d ${WRKSRC} | ${CAT} -n | ${SED} -e ' \ X s,^ 1,100000,; \ X s,JJK,${FONTNAME},; \ X ' | ${SORT} -r | ${CUT} -c 8- > ${WRKSRC}/fonts.scale X Xmake-fonts.dir: X ${CP} ${WRKSRC}/fonts.scale ${WRKSRC}/fonts.dir X X# X# Install X# X Xdo-install: install-fonts X Xinstall-fonts: X ${MKDIR} ${FONTSDIR} X ${INSTALL_DATA} ${WRKSRC}/* ${FONTSDIR} X X# X# Post-install X# X Xpost-install: truetype-link display-message X Xtruetype-link: X.if ${XFREE86_VERSION} == 3 X ${LN} -fs ${FONTSDIR} ${TTFONTSDIR}/${FONTNAME} X.endif X Xdisplay-message: X @${ECHO_MSG} X @${CAT} ${PKGMESSAGE} X @${ECHO_MSG} X X.include END-of-x11-fonts/Code2000/Makefile echo x - x11-fonts/Code2000/distinfo sed 's/^X//' >x11-fonts/Code2000/distinfo << 'END-of-x11-fonts/Code2000/distinfo' XMD5 (Code2000-1.13/CODE2000.ZIP) = ae2bcb9a43af61ab95dd63df56bbf12d END-of-x11-fonts/Code2000/distinfo echo x - x11-fonts/Code2000/pkg-descr sed 's/^X//' >x11-fonts/Code2000/pkg-descr << 'END-of-x11-fonts/Code2000/pkg-descr' XThis famous TrueType font contains a lot of Unicode glyphs (over 34000 in Xversion 1.13). X XWith Unicode-aware applications you'll be able to display and use special Xcharacters and a lot of languages. X XWWW: http://home.att.net/~jameskass/ END-of-x11-fonts/Code2000/pkg-descr echo x - x11-fonts/Code2000/pkg-message sed 's/^X//' >x11-fonts/Code2000/pkg-message << 'END-of-x11-fonts/Code2000/pkg-message' XIMPORTANT - READ CAREFULLY: Code2000 is *NOT* free software! XIt is offered as a shareware demo. If you like it and use it after a Xreasonable evaluation period, you are obliged to register the Xfont by sending $5 (Five U.S. Dollars, or equivalent in any currency) Xto the author. See %%FONTSDIR%%/Code2000.html. XYou can start using the font by following these instructions: X X--- XFree86 4.x.x (using the freetype module) X XMake sure that the freetype module is loaded. If it is not, add the following Xline to the "Modules" section of XF86Config: X X Load "freetype" X XAdd the following line to the "Files" section of XF86Config: X X FontPath "%%FONTSDIR%%/" X X--- XFree86 3.x.x (using Xfstt) X XAdd the following line to the "Files" section of XF86Config: X X FontPath "unix/:7101" END-of-x11-fonts/Code2000/pkg-message echo x - x11-fonts/Code2000/pkg-plist sed 's/^X//' >x11-fonts/Code2000/pkg-plist << 'END-of-x11-fonts/Code2000/pkg-plist' X@comment $FreeBSD$ X%%FONTSDIR%%/Code2000.html X%%FONTSDIR%%/Code2000.ttf X%%FONTSDIR%%/fonts.dir X%%FONTSDIR%%/fonts.scale X@dirrm %%FONTSDIR%% X%%PKG_OLDXF86%%@exec ln -fs %D/%%FONTSDIR%% %D/%%TTFONTSDIR%%/%%FONTNAME%% X%%PKG_OLDXF86%%@unexec rm -f %D/%%TTFONTSDIR%%/%%FONTNAME%% END-of-x11-fonts/Code2000/pkg-plist exit --- Code2000.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: