summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-28 02:37:31 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-28 02:37:31 +0000
commit11813ab63da41f872490da54366f93f599196dd3 (patch)
tree5719e22477eec716b0a4d2297f7d239d1ee208e7 /app-misc/figlet
parentadded app-sci category (diff)
downloadgentoo-2-11813ab63da41f872490da54366f93f599196dd3.tar.gz
gentoo-2-11813ab63da41f872490da54366f93f599196dd3.tar.bz2
gentoo-2-11813ab63da41f872490da54366f93f599196dd3.zip
cleanup
Diffstat (limited to 'app-misc/figlet')
-rw-r--r--app-misc/figlet/figlet-22.ebuild29
1 files changed, 15 insertions, 14 deletions
diff --git a/app-misc/figlet/figlet-22.ebuild b/app-misc/figlet/figlet-22.ebuild
index f6bf04afd365..63dcf04b7600 100644
--- a/app-misc/figlet/figlet-22.ebuild
+++ b/app-misc/figlet/figlet-22.ebuild
@@ -1,32 +1,33 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Copyright 1999-2002 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/figlet/figlet-22.ebuild,v 1.2 2002/04/28 02:37:31 seemant 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}"
+SRC_URI="ftp://ftp.plig.org/pub/figlet/program/unix/${PN}${PV}.tar.gz"
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
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${PF}-gentoo.diff || die
}
src_compile() {
- try make clean
- try make figlet
+ make clean || die
+ make figlet || die
}
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
+ dodir /usr/bin /usr/share/man/man6
+ make \
+ DESTDIR=${D}/usr/bin \
+ MANDIR=${D}/usr/share/man/man6 \
+ DEFAULTFONTDIR=${D}/usr/share/figlet \
+ install || die
- dodoc Artistic-license.txt FTP-NOTE README showfigfonts figmagic figfont.txt
+ dodoc Artistic-license.txt FTP-NOTE README showfigfonts figmagic figfont.txt
}
-