Subject: pkg/17641: Updated figlet package
To: None <gnats-bugs@gnats.netbsd.org>
From: None <norm@sandbox.org.uk>
List: netbsd-bugs
Date: 07/18/2002 23:21:43
>Number:         17641
>Category:       pkg
>Synopsis:       Update figlet package to 2.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 18 17:09:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Norm
>Release:        NetBSD 1.6_BETA4
>Organization:
>Environment:
System: NetBSD grain.sandbox.org.uk 1.6_BETA4 NetBSD 1.6_BETA4 (GENERIC) #0: Wed Jul 10 02:35:30 UTC 2002 autobuild@tgm.daemon.org:/autobuild/sparc64/OBJ/autobuild/src/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	Figlet has been updated to 2.2.1, and needs MASTER_SITES and HOMEPAGE
	changing.
>How-To-Repeat:
>Fix:
	Apply the following patches, then 'make mdi'.

	--- misc/figlet/Makefile        Sat Feb 17 18:09:02 2001
	+++ local/figlet/Makefile       Thu Jul 18 22:59:19 2002
	@@ -2,14 +2,13 @@
	 # FreeBSD Id: Makefile,v 1.6 1997/06/29 09:56:32 obrien Exp
	 #
	 
	-DISTNAME=      figlet22
	-PKGNAME=       figlet-2.2
	+DISTNAME=      figlet221
	+PKGNAME=       figlet-2.2.1
	 CATEGORIES=    misc
	-MASTER_SITES=  ftp://ftp.nicoh.com/pub/figlet/program/unix/  \
	-               ftp://ftp.wwa.com/pub/Scarecrow/Figlet/Unix/
	+MASTER_SITES=  ftp://ftp.figlet.org/pub/figlet/program/unix/
	 
	 MAINTAINER=     packages@netbsd.org
	-HOMEPAGE=      http://st-www.cs.uiuc.edu/users/chai/figlet.html
	+HOMEPAGE=      http://www.figlet.org/
	 COMMENT=       Banner like program, prints strings in fancy ASCII art characters
	 
	 .include "../../mk/bsd.pkg.mk"



	--- misc/figlet/patches/patch-aa        Fri Apr 27 11:06:13 2001
	+++ local/figlet/patches/patch-aa       Thu Jul 18 23:20:54 2002
	@@ -1,8 +1,8 @@
	 $NetBSD: patch-aa,v 1.3 2001/04/27 10:06:13 abs Exp $
	 
	---- Makefile.orig      Tue Feb 18 23:02:28 1997
	+--- Makefile.orig      Sat Jul 13 11:24:16 2002
	 +++ Makefile
	-@@ -10,18 +10,18 @@
	+@@ -12,18 +12,18 @@
	  # for changing this is if sh is not in the same place.
	  SHELL = /bin/sh
	  CC = gcc
	@@ -10,28 +10,26 @@
	 +#CFLAGS = -g
	  
	  # Where the executables should be put
	--DESTDIR = /usr/games
	+-DESTDIR = /usr/local/bin
	 +DESTDIR = $(PREFIX)/bin
	  
	  # Where the man page should be put
	--MANDIR = /usr/man/man6
	+-MANDIR = /usr/local/man/man6
	 +MANDIR = $(PREFIX)/man/man6
	  
	  # Where figlet will search first for fonts (the ".flf" files).
	--DEFAULTFONTDIR = $(DESTDIR)/lib/figlet.dir
	-+#DEFAULTFONTDIR = $(DESTDIR)/lib/figlet.dir
	- # Use this definition if you can't put things in /usr/games
	--DEFAULTFONTDIR = fonts
	+-DEFAULTFONTDIR = /usr/local/share/figlet
	 +DEFAULTFONTDIR = $(PREFIX)/share/figlet
	+ # Use this definition if you can't put things in /usr/local/share/figlet
	+-DEFAULTFONTDIR = fonts
	++#DEFAULTFONTDIR = fonts
	  
	  # The filename of the font to be used if no other is specified
	  #   (standard.flf is recommended, but any other can be used).
	-@@ -50,9 +50,12 @@
	-       rm -f *.o figlet chkfont
	+@@ -53,8 +53,11 @@
	  
	  install: figlet chkfont
	--      mkdir $(DEFAULTFONTDIR)
	-+      mkdir -p $(DEFAULTFONTDIR)
	+       mkdir -p $(DEFAULTFONTDIR)
	 +      strip figlet
		cp figlet $(DESTDIR)
	 +      strip chkfont



	--- misc/figlet/PLIST   Thu Nov  1 01:28:03 2001
	+++ local/figlet/PLIST  Thu Jul 18 23:08:29 2002
	@@ -3,7 +3,7 @@
	 bin/chkfont
	 bin/figlist
	 bin/showfigfonts
	-man/man6/figlet.6.gz
	+man/man6/figlet.6
	 share/figlet/646-ca.flc
	 share/figlet/646-ca2.flc
	 share/figlet/646-cn.flc

>Release-Note:
>Audit-Trail:
>Unformatted: