diff options
author | AJ Lewis <roadrunner@gentoo.org> | 2001-04-27 18:33:33 +0000 |
---|---|---|
committer | AJ Lewis <roadrunner@gentoo.org> | 2001-04-27 18:33:33 +0000 |
commit | 17339412395dc94f889c6c66eb4df62f856d0f1d (patch) | |
tree | 75af1aacd38b8e8afb96ad9b48f61b94ffd57a0c /app-misc/figlet | |
parent | trying to clean up my mistakes from last night. (diff) | |
download | historical-17339412395dc94f889c6c66eb4df62f856d0f1d.tar.gz historical-17339412395dc94f889c6c66eb4df62f856d0f1d.tar.bz2 historical-17339412395dc94f889c6c66eb4df62f856d0f1d.zip |
o Added figlet - a program for making large letters out of ordinary text
Diffstat (limited to 'app-misc/figlet')
-rw-r--r-- | app-misc/figlet/figlet-22.ebuild | 32 | ||||
-rw-r--r-- | app-misc/figlet/files/digest-figlet-22 | 1 | ||||
-rw-r--r-- | app-misc/figlet/files/figlet-22-gentoo.diff | 40 |
3 files changed, 73 insertions, 0 deletions
diff --git a/app-misc/figlet/figlet-22.ebuild b/app-misc/figlet/figlet-22.ebuild new file mode 100644 index 000000000000..f6bf04afd365 --- /dev/null +++ b/app-misc/figlet/figlet-22.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# AJ Lewis <aj@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-misc/figlet/figlet-22.ebuild,v 1.1 2001/04/27 18:33:33 aj Exp $ + +A=${PN}${PV}.tar.gz +S=${WORKDIR}/${PN}${PV} +DESCRIPTION="FIGlet is a program for making large letters out of ordinary text" +SRC_URI="ftp://ftp.plig.org/pub/figlet/program/unix/${A}" +HOMEPAGE="http://st-www.cs.uiuc.edu/users/chai/figlet.html" +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + try patch -p1 < ${FILESDIR}/${PF}-gentoo.diff +} + + +src_compile() { + try make clean + try make figlet +} + +src_install() { + dodir /usr/bin /usr/share/man/man6 + try DESTDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man6 \ + DEFAULTFONTDIR=${D}/usr/share/figlet make install + + dodoc Artistic-license.txt FTP-NOTE README showfigfonts figmagic figfont.txt +} + diff --git a/app-misc/figlet/files/digest-figlet-22 b/app-misc/figlet/files/digest-figlet-22 new file mode 100644 index 000000000000..b9e192d94e6a --- /dev/null +++ b/app-misc/figlet/files/digest-figlet-22 @@ -0,0 +1 @@ +MD5 63afcf43505fbe0c9a936ee3b97d4288 figlet22.tar.gz diff --git a/app-misc/figlet/files/figlet-22-gentoo.diff b/app-misc/figlet/files/figlet-22-gentoo.diff new file mode 100644 index 000000000000..515861a64d7f --- /dev/null +++ b/app-misc/figlet/files/figlet-22-gentoo.diff @@ -0,0 +1,40 @@ +diff -Nur figlet22/Makefile figlet22-new/Makefile +--- figlet22/Makefile Tue Feb 18 16:02:28 1997 ++++ figlet22-new/Makefile Thu Apr 26 22:27:46 2001 +@@ -13,22 +13,29 @@ + CFLAGS = -g + + # Where the executables should be put +-DESTDIR = /usr/games ++ifndef DESTDIR ++ DESTDIR = /usr/bin/ ++endif + + # Where the man page should be put +-MANDIR = /usr/man/man6 ++ifndef MANDIR ++ MANDIR = /usr/share/man/man6 ++endif + + # Where figlet will search first for fonts (the ".flf" files). +-DEFAULTFONTDIR = $(DESTDIR)/lib/figlet.dir ++ifndef DEFAULTFONTDIR ++ DEFAULTFONTDIR = /usr/share/figlet ++endif + # Use this definition if you can't put things in /usr/games +-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). + # This font file should reside in the directory specified by + # DEFAULTFONTDIR. +-DEFAULTFONTFILE = standard.flf +- ++ifndef DEFAULTFONTFILE ++ DEFAULTFONTFILE = standard.flf ++endif + ## + ## END OF CONFIGURATION SECTION + ## +Binary files figlet22/figlet and figlet22-new/figlet differ |