Update to figlet-2.2.1 and modernise the port

breakage noticed by Saad Kadhi <bsdguy@docisland.org>
This commit is contained in:
avsm 2002-08-26 23:38:15 +00:00
parent a0264adad3
commit 581a9ddd87
5 changed files with 39 additions and 41 deletions

View File

@ -1,18 +1,12 @@
# Makefile for: figlet
# Version required: 2.2
# Date created: 15 Dec 1999
# Whom: dugsong@monkey.org
#
# $OpenBSD: Makefile,v 1.11 2002/03/21 21:09:18 espie Exp $
# $OpenBSD: Makefile,v 1.12 2002/08/26 23:38:15 avsm Exp $
COMMENT= "generates ASCII banner art"
PKGNAME= figlet-2.2
DISTNAME= figlet22
PKGNAME= figlet-2.2.1
DISTNAME= figlet221
CATEGORIES= misc graphics
NEED_VERSION= 1.515
HOMEPAGE= http://st-www.cs.uiuc.edu/users/chai/figlet.html
HOMEPAGE= http://www.figlet.org/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
# Artistic
@ -21,16 +15,17 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.internexus.net/pub/figlet/program/unix/ \
ftp://ftp.plig.org/pub/figlet/program/unix/
MASTER_SITES= ftp://ftp.figlet.org/pub/figlet/program/unix/
MASTER_SITES0= ftp://ftp.recoil.org/pub/figlet/
MASTER_SITES0= http://www.internexus.net/pub/figlet/fonts/ \
ftp://ftp.plig.org/pub/figlet/fonts/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} contributed${EXTRACT_SUFX}:0
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
figlet-contributed-24082002${EXTRACT_SUFX}:0
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" \
DEFAULTFONTDIR=${PREFIX}/share/figlet
post-patch:
@perl -pi -e 's|%%OPENBSDFIGLET%%|${LOCALBASE}/share/figlet|g' ${WRKBUILD}/figlist
post-extract:
@mv ${WRKDIR}/contributed/*.{flf,flc} ${WRKSRC}/fonts
@mv ${WRKDIR}/contributed/bdffonts/*.flf ${WRKSRC}/fonts

View File

@ -1,6 +1,6 @@
MD5 (contributed.tar.gz) = ad35a6cd5ffc83e9f6feea24880cd1a4
MD5 (figlet22.tar.gz) = 63afcf43505fbe0c9a936ee3b97d4288
RMD160 (contributed.tar.gz) = 0920295958abfa98a82520055337316755f36c59
RMD160 (figlet22.tar.gz) = 30ce582f69355f0288a43024e111cc3f53d9808b
SHA1 (contributed.tar.gz) = 0d08171ea7489f4b26e6f560ac0a3fdeed18429f
SHA1 (figlet22.tar.gz) = 83646d4214e1a00b2d0feead246bba15e26c2569
MD5 (figlet-contributed-24082002.tar.gz) = 006ab61effdb06c309af64e5ed8be59e
MD5 (figlet221.tar.gz) = 216bc6d86952003cc3db75d5c36eb4f6
RMD160 (figlet-contributed-24082002.tar.gz) = 843e72172825abdc6ad50d2b436446f8d868aa51
RMD160 (figlet221.tar.gz) = 5b8b7c144f02728227b465f7d337c9c6642c36f6
SHA1 (figlet-contributed-24082002.tar.gz) = a0119f345a92e853f64754ba27527d727f17a87e
SHA1 (figlet221.tar.gz) = f11ee2e158959bed59410e4eb2c2bd3da597dbf1

View File

@ -1,17 +1,7 @@
$OpenBSD: patch-figlet,v 1.1 2000/09/15 16:07:08 avsm Exp $
--- figlet.6.orig Thu Jun 10 03:51:37 1999
+++ figlet.6 Wed Dec 15 04:21:35 1999
@@ -34,8 +34,7 @@
]
[
.B \-w
-.IR outputwidth
-]
+.IR outputwidth ]
.PD 0
.IP
.PD
@@ -50,7 +49,27 @@
$OpenBSD: patch-figlet,v 1.2 2002/08/26 23:38:15 avsm Exp $
--- figlet.6.orig Sat Jul 13 10:57:21 2002
+++ figlet.6 Tue Aug 27 00:02:24 2002
@@ -54,7 +54,27 @@ FIGlet \- display large characters made
[
.I message
]
@ -40,7 +30,7 @@ $OpenBSD: patch-figlet,v 1.1 2000/09/15 16:07:08 avsm Exp $
.SH DESCRIPTION
.B FIGlet
prints its input using large characters
@@ -94,6 +113,23 @@
@@ -98,6 +118,23 @@ fonts and control files
in compressed form.
See
.BR "COMPRESSED FONTS" .

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-figlist,v 1.1 2000/09/15 16:07:08 avsm Exp $
$OpenBSD: patch-figlist,v 1.2 2002/08/26 23:38:15 avsm Exp $
--- figlist.orig Tue Feb 18 22:02:28 1997
+++ figlist Fri Sep 15 16:24:07 2000
@@ -28,7 +28,7 @@ if [ "$1" = "-d" ]; then
@ -6,7 +6,7 @@ $OpenBSD: patch-figlist,v 1.1 2000/09/15 16:07:08 avsm Exp $
fi
else
- FONTDIROPT=""
+ FONTDIROPT="-d /usr/local/share/figlet"
+ FONTDIROPT="-d %%OPENBSDFIGLET%%"
if [ $# -ne 0 ]; then
echo "$USAGE"
exit 1

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2000/09/15 16:07:08 avsm Exp $
@comment $OpenBSD: PLIST,v 1.3 2002/08/26 23:38:15 avsm Exp $
bin/chkfont
bin/figlet
bin/figlist
@ -60,6 +60,7 @@ share/figlet/brite.flf
share/figlet/briteb.flf
share/figlet/britebi.flf
share/figlet/britei.flf
share/figlet/broadway.flf
share/figlet/bubble.flf
share/figlet/bulbhead.flf
share/figlet/calgphy2.flf
@ -94,16 +95,21 @@ share/figlet/cour.flf
share/figlet/courb.flf
share/figlet/courbi.flf
share/figlet/couri.flf
share/figlet/crawford.flf
share/figlet/cricket.flf
share/figlet/cursive.flf
share/figlet/cyberlarge.flf
share/figlet/cybermedium.flf
share/figlet/cybersmall.flf
share/figlet/decimal.flf
share/figlet/diamond.flf
share/figlet/digital.flf
share/figlet/doh.flf
share/figlet/doom.flf
share/figlet/dotmatrix.flf
share/figlet/double.flf
share/figlet/drpepper.flf
share/figlet/dwhistled.flf
share/figlet/eftichess.flf
share/figlet/eftifont.flf
share/figlet/eftipiti.flf
@ -118,11 +124,13 @@ share/figlet/frango.flc
share/figlet/fuzzy.flf
share/figlet/goofy.flf
share/figlet/gothic.flf
share/figlet/graceful.flf
share/figlet/graffiti.flf
share/figlet/helv.flf
share/figlet/helvb.flf
share/figlet/helvbi.flf
share/figlet/helvi.flf
share/figlet/hex.flf
share/figlet/hollywood.flf
share/figlet/hz.flc
share/figlet/ilhebrew.flc
@ -159,7 +167,9 @@ share/figlet/nancyj.flf
share/figlet/nipples.flf
share/figlet/null.flc
share/figlet/o8.flf
share/figlet/octal.flf
share/figlet/ogre.flf
share/figlet/os2.flf
share/figlet/pawp.flf
share/figlet/peaks.flf
share/figlet/pebbles.flf
@ -177,6 +187,7 @@ share/figlet/rot13.flf
share/figlet/rounded.flf
share/figlet/rowancap.flf
share/figlet/rozzo.flf
share/figlet/runyc.flf
share/figlet/sans.flf
share/figlet/sansb.flf
share/figlet/sansbi.flf
@ -200,6 +211,7 @@ share/figlet/smscript.flf
share/figlet/smshadow.flf
share/figlet/smslant.flf
share/figlet/speed.flf
share/figlet/stacey.flf
share/figlet/stampatello.flf
share/figlet/standard.flf
share/figlet/starwars.flf
@ -232,6 +244,7 @@ share/figlet/utopiab.flf
share/figlet/utopiabi.flf
share/figlet/utopiai.flf
share/figlet/weird.flf
share/figlet/whimsy.flf
share/figlet/xbrite.flf
share/figlet/xbriteb.flf
share/figlet/xbritebi.flf