Date: Mon, 13 Mar 2000 09:31:44 +0000 From: Dom.Mitchell@palmerharvey.co.uk (Dominic Mitchell) To: OKAZAKI Tetsurou <okazaki@be.to> Cc: freebsd-ports@FreeBSD.org, gnats-admin@FreeBSD.org Subject: Re: ports/17301: New port: mozilla-fonts Message-ID: <20000313093144.A40176@voodoo.pandhm.co.uk> In-Reply-To: <86put0au91.wl@dolphin.be.to>; from okazaki@be.to on Mon, Mar 13, 2000 at 04:00:42AM %2B0900 References: <200003121710.JAA22258@freefall.freebsd.org> <86put0au91.wl@dolphin.be.to>
next in thread | previous in thread | raw e-mail | index | archive | help
--zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii On Mon, Mar 13, 2000 at 04:00:42AM +0900, OKAZAKI Tetsurou wrote: > It is better to store post-installation notices in ${PKGMESSAGE} > rather than ${DESCR} or ${PKGDIR}/DESCR, and display it as follows: > > post-install: > @${CAT} ${PKGMESSAGE} > > in the Makefile. OK. To sort all of this out, I've attached the port in shar format again. -- Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator MCSE -- Minesweeper Consultant & Solitaire Expert --zhXaljGHf11kAtnf Content-Type: application/x-shar Content-Disposition: attachment; filename="mozilla-fonts.shar" # 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: # # mozilla-fonts # mozilla-fonts/Makefile # mozilla-fonts/files # mozilla-fonts/files/md5 # mozilla-fonts/pkg # mozilla-fonts/pkg/COMMENT # mozilla-fonts/pkg/DESCR # mozilla-fonts/pkg/PLIST # mozilla-fonts/pkg/MESSAGE # mozilla-fonts/patches # mozilla-fonts/patches/patch-aa # echo c - mozilla-fonts mkdir -p mozilla-fonts > /dev/null 2>&1 echo x - mozilla-fonts/Makefile sed 's/^X//' >mozilla-fonts/Makefile << 'END-of-mozilla-fonts/Makefile' X# Ports collection makefile for: mozilla-fonts X# Version required: 1.0 X# Date created: 10 Mar 2000 X# Whom: dom@myrddin.demon.co.uk X# X# $FreeBSD$ X# X XDISTNAME= mozilla-fonts XPKGNAME= mozilla-fonts-1.0 XCATEGORIES= x11-fonts www XMASTER_SITES= http://fox.mit.edu/skunk/xwin/ X XMAINTAINER= dom@myrddin.demon.co.uk X XALL_TARGET= pcf X XUSE_X_PREFIX= true X Xpre-install: X ${MKDIR} ${PREFIX}/share/doc/mozilla-fonts X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mozilla-fonts X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> X END-of-mozilla-fonts/Makefile echo c - mozilla-fonts/files mkdir -p mozilla-fonts/files > /dev/null 2>&1 echo x - mozilla-fonts/files/md5 sed 's/^X//' >mozilla-fonts/files/md5 << 'END-of-mozilla-fonts/files/md5' XMD5 (mozilla-fonts.tar.gz) = 544c55b9fe3c35ac17bfd5389d13e448 END-of-mozilla-fonts/files/md5 echo c - mozilla-fonts/pkg mkdir -p mozilla-fonts/pkg > /dev/null 2>&1 echo x - mozilla-fonts/pkg/COMMENT sed 's/^X//' >mozilla-fonts/pkg/COMMENT << 'END-of-mozilla-fonts/pkg/COMMENT' XWeb fonts for Netscape/Mozilla END-of-mozilla-fonts/pkg/COMMENT echo x - mozilla-fonts/pkg/DESCR sed 's/^X//' >mozilla-fonts/pkg/DESCR << 'END-of-mozilla-fonts/pkg/DESCR' Xmozilla-fonts is a complete set of the three kingpin typefaces in XHttpland-- Times, Helvetica, and Courier-- each in two weights, Xtwo slants, and seven sizes (for a grand total of 84). The sizes Xrange from 13- to 57-point (all @ 100dpi) and have been individually Xselected to match the font display behavior of MS-Windows Netscape Xas closely as possible. Right down to the glaring scale disparity Xbetween sizes 6 and 7. X XWWW: http://fox.mit.edu/skunk/xwin/#mozilla_fonts END-of-mozilla-fonts/pkg/DESCR echo x - mozilla-fonts/pkg/PLIST sed 's/^X//' >mozilla-fonts/pkg/PLIST << 'END-of-mozilla-fonts/pkg/PLIST' Xlib/X11/fonts/mozilla/cour1.pcf Xlib/X11/fonts/mozilla/cour2.pcf Xlib/X11/fonts/mozilla/cour3.pcf Xlib/X11/fonts/mozilla/cour4.pcf Xlib/X11/fonts/mozilla/cour5.pcf Xlib/X11/fonts/mozilla/cour6.pcf Xlib/X11/fonts/mozilla/cour7.pcf Xlib/X11/fonts/mozilla/courb1.pcf Xlib/X11/fonts/mozilla/courb2.pcf Xlib/X11/fonts/mozilla/courb3.pcf Xlib/X11/fonts/mozilla/courb4.pcf Xlib/X11/fonts/mozilla/courb5.pcf Xlib/X11/fonts/mozilla/courb6.pcf Xlib/X11/fonts/mozilla/courb7.pcf Xlib/X11/fonts/mozilla/courbi1.pcf Xlib/X11/fonts/mozilla/courbi2.pcf Xlib/X11/fonts/mozilla/courbi3.pcf Xlib/X11/fonts/mozilla/courbi4.pcf Xlib/X11/fonts/mozilla/courbi5.pcf Xlib/X11/fonts/mozilla/courbi6.pcf Xlib/X11/fonts/mozilla/courbi7.pcf Xlib/X11/fonts/mozilla/couri1.pcf Xlib/X11/fonts/mozilla/couri2.pcf Xlib/X11/fonts/mozilla/couri3.pcf Xlib/X11/fonts/mozilla/couri4.pcf Xlib/X11/fonts/mozilla/couri5.pcf Xlib/X11/fonts/mozilla/couri6.pcf Xlib/X11/fonts/mozilla/couri7.pcf Xlib/X11/fonts/mozilla/fonts.alias Xlib/X11/fonts/mozilla/fonts.dir Xlib/X11/fonts/mozilla/helv0.pcf Xlib/X11/fonts/mozilla/helv1.pcf Xlib/X11/fonts/mozilla/helv2.pcf Xlib/X11/fonts/mozilla/helv3.pcf Xlib/X11/fonts/mozilla/helv4.pcf Xlib/X11/fonts/mozilla/helv5.pcf Xlib/X11/fonts/mozilla/helv6.pcf Xlib/X11/fonts/mozilla/helv7.pcf Xlib/X11/fonts/mozilla/helvb1.pcf Xlib/X11/fonts/mozilla/helvb2.pcf Xlib/X11/fonts/mozilla/helvb3.pcf Xlib/X11/fonts/mozilla/helvb4.pcf Xlib/X11/fonts/mozilla/helvb5.pcf Xlib/X11/fonts/mozilla/helvb6.pcf Xlib/X11/fonts/mozilla/helvb7.pcf Xlib/X11/fonts/mozilla/helvbi1.pcf Xlib/X11/fonts/mozilla/helvbi2.pcf Xlib/X11/fonts/mozilla/helvbi3.pcf Xlib/X11/fonts/mozilla/helvbi4.pcf Xlib/X11/fonts/mozilla/helvbi5.pcf Xlib/X11/fonts/mozilla/helvbi6.pcf Xlib/X11/fonts/mozilla/helvbi7.pcf Xlib/X11/fonts/mozilla/helvi1.pcf Xlib/X11/fonts/mozilla/helvi2.pcf Xlib/X11/fonts/mozilla/helvi3.pcf Xlib/X11/fonts/mozilla/helvi4.pcf Xlib/X11/fonts/mozilla/helvi5.pcf Xlib/X11/fonts/mozilla/helvi6.pcf Xlib/X11/fonts/mozilla/helvi7.pcf Xlib/X11/fonts/mozilla/times1.pcf Xlib/X11/fonts/mozilla/times2.pcf Xlib/X11/fonts/mozilla/times3.pcf Xlib/X11/fonts/mozilla/times4.pcf Xlib/X11/fonts/mozilla/times5.pcf Xlib/X11/fonts/mozilla/times6.pcf Xlib/X11/fonts/mozilla/times7.pcf Xlib/X11/fonts/mozilla/timesb1.pcf Xlib/X11/fonts/mozilla/timesb2.pcf Xlib/X11/fonts/mozilla/timesb3.pcf Xlib/X11/fonts/mozilla/timesb4.pcf Xlib/X11/fonts/mozilla/timesb5.pcf Xlib/X11/fonts/mozilla/timesb6.pcf Xlib/X11/fonts/mozilla/timesb7.pcf Xlib/X11/fonts/mozilla/timesbi1.pcf Xlib/X11/fonts/mozilla/timesbi2.pcf Xlib/X11/fonts/mozilla/timesbi3.pcf Xlib/X11/fonts/mozilla/timesbi4.pcf Xlib/X11/fonts/mozilla/timesbi5.pcf Xlib/X11/fonts/mozilla/timesbi6.pcf Xlib/X11/fonts/mozilla/timesbi7.pcf Xlib/X11/fonts/mozilla/timesi1.pcf Xlib/X11/fonts/mozilla/timesi2.pcf Xlib/X11/fonts/mozilla/timesi3.pcf Xlib/X11/fonts/mozilla/timesi4.pcf Xlib/X11/fonts/mozilla/timesi5.pcf Xlib/X11/fonts/mozilla/timesi6.pcf Xlib/X11/fonts/mozilla/timesi7.pcf Xshare/doc/mozilla-fonts/README X@dirrm share/doc/mozilla-fonts X@dirrm lib/X11/fonts/mozilla END-of-mozilla-fonts/pkg/PLIST echo x - mozilla-fonts/pkg/MESSAGE sed 's/^X//' >mozilla-fonts/pkg/MESSAGE << 'END-of-mozilla-fonts/pkg/MESSAGE' X------------------------------------------------------------------------ XOnce installed, you'll have to add /usr/X11R6/lib/X11/fonts/mozilla to Xyour X font path by either: X X$ xset fp+ /usr/X11R6/lib/X11/fonts/mozilla X$ xset fp rehash X Xor by adding it to your X server configuration file (usually X/etc/XF86Config) and restarting the X server. X XYou'll also need to configure netscape to use them. See X/usr/X11R6/share/doc/mozilla-fonts/README. X------------------------------------------------------------------------ END-of-mozilla-fonts/pkg/MESSAGE echo c - mozilla-fonts/patches mkdir -p mozilla-fonts/patches > /dev/null 2>&1 echo x - mozilla-fonts/patches/patch-aa sed 's/^X//' >mozilla-fonts/patches/patch-aa << 'END-of-mozilla-fonts/patches/patch-aa' X--- Makefile.orig Fri Mar 10 12:03:05 2000 X+++ Makefile Fri Mar 10 12:04:56 2000 X@@ -1,7 +1,7 @@ X # Mozilla fonts makefile X X X-DESTDIR = /usr/local/lib/fonts/Mozilla X+DESTDIR = $(PREFIX)/lib/X11/fonts/mozilla X X X # -------- No user-serviceable parts below -------- X@@ -40,9 +40,9 @@ X install: pcf X mkdir -p $(DESTDIR) X for font in $(PCF_FILES) ; do \ X- $(INSTALL) -m 644 $$font $(DESTDIR)/$$font ; \ X+ $(BSD_INSTALL_DATA) $$font $(DESTDIR)/$$font ; \ X done X- $(INSTALL) -m 644 fonts.alias $(DESTDIR)/fonts.alias X+ $(BSD_INSTALL_DATA) fonts.alias $(DESTDIR)/fonts.alias X mkfontdir $(DESTDIR) X X clean: END-of-mozilla-fonts/patches/patch-aa exit --zhXaljGHf11kAtnf-- 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?20000313093144.A40176>