From 58942a4d80162881b6165a751dbbcad30df3b3b2 Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Fri, 4 Jan 2002 06:39:23 +0000 Subject: fixes; accidentally fried agriffis' upgrades --- net-mail/mutt/mutt-1.3.25.ebuild | 54 +++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 26 deletions(-) (limited to 'net-mail') diff --git a/net-mail/mutt/mutt-1.3.25.ebuild b/net-mail/mutt/mutt-1.3.25.ebuild index 970130950c7b..deb056bfea8b 100644 --- a/net-mail/mutt/mutt-1.3.25.ebuild +++ b/net-mail/mutt/mutt-1.3.25.ebuild @@ -1,43 +1,45 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins -# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.3.25.ebuild,v 1.2 2002/01/04 06:24:42 drobbins Exp $ +# Maintainer: Server Team +# Maintainers: Daniel Robbins , Aron Griffis +# /space/gentoo/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.3.22.1.ebuild,v 1.1 2001/09/26 12:06:29 agriffis Exp -S=${WORKDIR}/${P} +S=$WORKDIR/$P DESCRIPTION="a small but very powerful text-based mail client" SRC_URI="ftp://ftp.mutt.org/pub/mutt/mutt-${PV}i.tar.gz" HOMEPAGE="http://www.mutt.org" -DEPEND="virtual/glibc nls? ( sys-devel/gettext ) >=sys-libs/ncurses-5.2 slang? ( >=sys-libs/slang-1.4.2 ) ssl? ( >=dev-libs/openssl-0.9.6 )" -RDEPEND="virtual/glibc >=sys-libs/ncurses-5.2 slang? ( >=sys-libs/slang-1.4.2 ) ssl? ( >=dev-libs/openssl-0.9.6 )" +DEPEND="virtual/glibc + nls? ( sys-devel/gettext ) + >=sys-libs/ncurses-5.2 + slang? ( >=sys-libs/slang-1.4.2 ) + ssl? ( >=dev-libs/openssl-0.9.6 )" src_compile() { local myconf - if [ -z "`use nls`" ] ; then - myconf="--disable-nls" - fi - if [ "`use ssl`" ] ; then - myconf="$myconf --with-ssl" - fi - if [ "`use slang`" ] ; then - myconf="$myconf --with-slang" - fi - ./configure --prefix=/usr --sysconfdir=/etc/mutt --host=${CHOST} --with-regex --enable-pop --enable-imap --enable-nfs-fix --with-homespool=Maildir $myconf || die + use nls && myconf="--enable-nls" \ + || myconf="--disable-nls" + use ssl && myconf="$myconf --with-ssl" \ + || myconf="$myconf --without-ssl" + # --without-slang doesn't work; + # specify --with-curses if you don't want slang + # (26 Sep 2001 agriffis) + use slang && myconf="$myconf --with-slang" \ + || myconf="$myconf --with-curses" + ./configure --host=$CHOST \ + --prefix=/usr --sysconfdir=/etc/mutt \ + --mandir=/usr/share/man --with-docdir=/usr/share/doc/mutt-$PVR \ + --with-regex --enable-pop --enable-imap --enable-nfs-fix \ + --with-homespool=Maildir $myconf + assert "./configure failed (myconf=$myconf)" cp doc/Makefile doc/Makefile.orig sed 's/README.UPGRADE//' doc/Makefile.orig > doc/Makefile - make || die + make || die "make failed (myconf=$myconf)" } src_install () { - cd ${S} - make DESTDIR=${D} install || die - dodir /usr/share/doc/${PF} - mv ${D}/usr/doc/mutt/* ${D}/usr/share/doc/${PF} - mv ${D}/usr/man ${D}/usr/share - rm -rf ${D}/usr/doc/mutt - gzip ${D}/usr/share/doc/${PF}/html/* - gzip ${D}/usr/share/doc/${PF}/samples/* - gzip ${D}/usr/share/doc/${PF}/* + make DESTDIR=$D install || die + find $D/usr/share/doc -type f | xargs gzip insinto /etc/mutt - doins ${FILESDIR}/Muttrc* + doins $FILESDIR/Muttrc } -- cgit v1.2.3-65-gdbad