diff options
author | Stanislav Brabec <utx@gentoo.org> | 2003-05-29 07:59:12 +0000 |
---|---|---|
committer | Stanislav Brabec <utx@gentoo.org> | 2003-05-29 07:59:12 +0000 |
commit | 27425b37e300a64e98de0f007b02a969d0b0984d (patch) | |
tree | 61f732413e6e32a566eb5a6d24cff1dece301e3e /net-mail | |
parent | fixed mbox build, added message about transparent background (diff) | |
download | historical-27425b37e300a64e98de0f007b02a969d0b0984d.tar.gz historical-27425b37e300a64e98de0f007b02a969d0b0984d.tar.bz2 historical-27425b37e300a64e98de0f007b02a969d0b0984d.zip |
fixed mbox build, added message about transparent background
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/mutt/Manifest | 6 | ||||
-rw-r--r-- | net-mail/mutt/files/digest-mutt-1.4.1-r1 | 4 | ||||
-rw-r--r-- | net-mail/mutt/files/digest-mutt-1.5.4-r1 | 4 | ||||
-rw-r--r-- | net-mail/mutt/mutt-1.4.1-r1.ebuild | 95 | ||||
-rw-r--r-- | net-mail/mutt/mutt-1.5.4-r1.ebuild | 101 |
5 files changed, 207 insertions, 3 deletions
diff --git a/net-mail/mutt/Manifest b/net-mail/mutt/Manifest index 61b2465d9f76..05b014b3142a 100644 --- a/net-mail/mutt/Manifest +++ b/net-mail/mutt/Manifest @@ -2,10 +2,10 @@ MD5 9ec881b753253b4e30047a3af16f3556 mutt-1.4-r2.ebuild 1935 MD5 5ec9a39e5b5314ba72aabd2346ac5fe9 mutt-1.4.1.ebuild 2511 MD5 045337dc8947e4b228c6f6a8efd07330 mutt-1.5.4.ebuild 2601 MD5 d265a0120c1f178878beeaa0da0d998b mutt-1.3.28.ebuild 1643 -MD5 84885f010166ac55cc6fa26a1554f1bd ChangeLog 4661 +MD5 2c5dc7e62270dd57a408e6f426c7396e ChangeLog 4864 MD5 834b54c601a8fba39e6e276a07ac1ca7 mutt-1.4-r3.ebuild 2759 -MD5 63d52fc6ad4602d5acec0293d9bdfedc mutt-1.4.1-r1.ebuild 2691 -MD5 ab158047decaf089fa171b7bb77c5cd7 mutt-1.5.4-r1.ebuild 2781 +MD5 cba349632c50f968aef647f38e208575 mutt-1.4.1-r1.ebuild 2689 +MD5 0d6d45030a1a47e64cc9ccc97189eaaa mutt-1.5.4-r1.ebuild 2779 MD5 b2b515e96b060771a00646405c620755 files/Muttrc 678 MD5 b9367d01117783179ef5042bb2193d77 files/digest-mutt-1.4.1 280 MD5 2aed1ac688ef4a607857a75422066740 files/digest-mutt-1.5.4 280 diff --git a/net-mail/mutt/files/digest-mutt-1.4.1-r1 b/net-mail/mutt/files/digest-mutt-1.4.1-r1 new file mode 100644 index 000000000000..162f7ba0e6e1 --- /dev/null +++ b/net-mail/mutt/files/digest-mutt-1.4.1-r1 @@ -0,0 +1,4 @@ +MD5 fb5418135c5be2638964eef2f654f847 mutt-1.4.1i.tar.gz 2599487 +MD5 b50484f8b12328c3ee69222a3eb1da11 patch-1.4.1.rr.compressed.1.gz 14059 +MD5 093a8bc4b61a79606d5ce20052ae5da9 mutt-1.4.1i-ja.1.tar.gz 80251 +MD5 18aec38f77a88995e6941df798ce4cd7 patch-1.4.0.cd.edit_threads.9.5 22168 diff --git a/net-mail/mutt/files/digest-mutt-1.5.4-r1 b/net-mail/mutt/files/digest-mutt-1.5.4-r1 new file mode 100644 index 000000000000..7567f1f13a51 --- /dev/null +++ b/net-mail/mutt/files/digest-mutt-1.5.4-r1 @@ -0,0 +1,4 @@ +MD5 3d4088f25892af6d71148eef26604f33 mutt-1.5.4i.tar.gz 2788104 +MD5 e2c0b3bb0be0e19a4a6cda01078e3eae patch-1.5.4.rr.compressed.1.gz 14463 +MD5 cecd25d4caadc4055ff7658e2f31f8aa mutt-1.5.4i-ja.1.tar.gz 80299 +MD5 56bbbdeec4c1a2259303dca4b6d9264e patch-1.5.3.cd.edit_threads.9.5 22293 diff --git a/net-mail/mutt/mutt-1.4.1-r1.ebuild b/net-mail/mutt/mutt-1.4.1-r1.ebuild new file mode 100644 index 000000000000..c6003437ba94 --- /dev/null +++ b/net-mail/mutt/mutt-1.4.1-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.4.1-r1.ebuild,v 1.1 2003/05/29 07:59:02 utx Exp $ + +IUSE="ssl nls slang cjk mbox" + +S=$WORKDIR/${P} +DESCRIPTION="a small but very powerful text-based mail client" +SRC_URI="ftp://ftp.mutt.org/mutt/mutt-${PV}i.tar.gz + http://www.spinnaker.de/mutt/compressed/patch-${PV}.rr.compressed.1.gz + cjk?( http://www.emaillab.org/mutt/1.4/mutt-${PV}i-ja.1.tar.gz ) + http://cedricduval.free.fr/download/mutt/patch-1.4.0.cd.edit_threads.9.5" +HOMEPAGE="http://www.mutt.org" + +DEPEND=">=sys-libs/ncurses-5.2 + ssl? ( >=dev-libs/openssl-0.9.6 ) + slang? ( >=sys-libs/slang-1.4.2 )" + +RDEPEND="nls? ( sys-devel/gettext )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc sparc alpha hppa" + +inherit flag-o-matic + +src_unpack() { + unpack ${P}i.tar.gz + zcat ${DISTDIR}/patch-${PV}.rr.compressed.1.gz | patch -d ${S} -p1 || die + patch -d ${S} -p1 < ${DISTDIR}/patch-1.4.0.cd.edit_threads.9.5 || die + if [ "`use cjk`" ]; then + unpack ${P}i-ja.1.tar.gz + cd ${S} + patch -p1 < ../${P}i-ja.1/patch-${PV}.tt.ja.1 || die + fi +} + +src_compile() { + # See Bug #11170 + # See Bug #11170 + case ${ARCH} in + alpha|ppc) replace-flags "-O[3-9]" "-O2" ;; + esac + + local myconf + 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" \ + && ewarn "If you want transparent background, please merge mutt with USE=-slang." \ + || myconf="${myconf} --with-curses" + + use mbox \ + && myconf="${myconf} --with-maildir=/var/spool/mail" \ + || myconf="${myconf} --with-homespool=Maildir" + + use cjk && myconf="$myconf --enable-default-japanese" + + econf \ + --sysconfdir=/etc/mutt \ + --with-docdir=/usr/share/doc/mutt-$PVR \ + --with-regex --enable-pop --enable-imap --enable-nfs-fix \ + --disable-fcntl --enable-flock --enable-external-dotlock \ + --enable-compressed \ + --enable-imap-edit-threads \ + ${myconf} || die + + cp doc/Makefile doc/Makefile.orig + sed 's/README.UPGRADE//' doc/Makefile.orig > doc/Makefile + make || die "make failed (myconf=${myconf})" +} + +src_install () { + make DESTDIR=$D install || die + find $D/usr/share/doc -type f |grep -v html | xargs gzip + insinto /etc/mutt + if [ "`use mbox`" ]; then + echo "Not installing an /etc/Muttrc as mbox is default configuration" + echo "with mutt" + else + doins $FILESDIR/Muttrc + fi + + dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION +} diff --git a/net-mail/mutt/mutt-1.5.4-r1.ebuild b/net-mail/mutt/mutt-1.5.4-r1.ebuild new file mode 100644 index 000000000000..23f417726c93 --- /dev/null +++ b/net-mail/mutt/mutt-1.5.4-r1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.5.4-r1.ebuild,v 1.1 2003/05/29 07:59:02 utx Exp $ + +IUSE="ssl nls slang cjk crypt imap mbox" + +inherit eutils + +edit_threads="patch-1.5.3.cd.edit_threads.9.5" + +S=$WORKDIR/${P} +DESCRIPTION="a small but very powerful text-based mail client" +SRC_URI="ftp://ftp.mutt.org/mutt/devel/mutt-${PV}i.tar.gz + http://www.spinnaker.de/mutt/compressed/patch-${PV}.rr.compressed.1.gz + cjk? ( http://www.emaillab.org/mutt/1.5/${P}i-ja.1.tar.gz ) + http://cedricduval.free.fr/download/mutt/${edit_threads}" +HOMEPAGE="http://www.mutt.org" + +DEPEND=">=sys-libs/ncurses-5.2 + ssl? ( >=dev-libs/openssl-0.9.6 ) + slang? ( >=sys-libs/slang-1.4.2 )" + +RDEPEND="nls? ( sys-devel/gettext )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa" + +inherit flag-o-matic + +src_unpack() { + unpack ${P}i.tar.gz + + cd ${S} + epatch ${DISTDIR}/patch-${PV}.rr.compressed.1.gz + epatch ${DISTDIR}/${edit_threads} + + if [ "`use cjk`" ]; then + cd ${WORKDIR} + unpack ${P}i-ja.1.tar.gz + cd ${S} + epatch ../${P}i-ja.1/patch-${PV}.tt.ja.1 + fi +} + +src_compile() { + # See Bug #11170 + case ${ARCH} in + alpha|ppc) replace-flags "-O[3-9]" "-O2" ;; + esac + + local myconf + myconf="`use_enable nls` `use_with ssl` \ + `use_enable imap` `use_enable crypt pgp`" + + # --without-slang doesn't work; + # specify --with-curses if you don't want slang + # (26 Sep 2001 agriffis) + + use slang \ + && myconf="${myconf} --with-slang" \ + && ewarn "If you want transparent background, please merge mutt with USE=-slang." \ + || myconf="${myconf} --with-curses" + + use mbox \ + && myconf="${myconf} --with-maildir=/var/spool/mail" \ + || myconf="${myconf} --with-homespool=Maildir" + + use cjk && myconf="$myconf --enable-default-japanese" + + econf \ + --sysconfdir=/etc/mutt \ + --with-docdir=/usr/share/doc/mutt-$PVR \ + --with-regex --enable-pop --enable-nfs-fix \ + --disable-fcntl --enable-flock --enable-external-dotlock \ + --enable-compressed \ + --enable-imap-edit-threads \ + ${myconf} || die + + mv doc/Makefile doc/Makefile.orig + sed 's/README.UPGRADE//' doc/Makefile.orig > doc/Makefile + make || die "make failed (myconf=${myconf})" +} + +src_install() { + make DESTDIR=$D install || die + find $D/usr/share/doc -type f |grep -v html | xargs gzip + insinto /etc/mutt + if [ "`use mbox`" ]; then + einfo "Not installing an /etc/Muttrc as mbox is default configuration" + einfo "with mutt" + else + doins $FILESDIR/Muttrc + fi + + dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION +} +pkg_postinst() { + einfo "The USE variable 'imap' is not set by default on most architectures." + einfo "To enable imap support in mutt, make sure you have 'imap' set." +} |